Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booPul_a1.y|booPul_a2.y|booPul_a3.y|booPul_a4.y|booPul_a5.y|booPul_b1.y|booPul_b2.y|booPul_b3.y|booPul_b4.y|booPul_b5.y|booPul_c1.y|booPul_c2.y|booPul_c3.y|booPul_c4.y|booPul_c5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.328/2.328, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 184.7 kB / 491.2 MB, free: 1.543 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.731/1.731, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001119, allocations: 102.2 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.835e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3479, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.383, allocations: 149.7 MB / 1.359 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/1.384, allocations: 74.83 kB / 1.359 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04703/1.431, allocations: 17.31 MB / 1.375 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/1.431, allocations: 4 kB / 1.375 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.879e-06/1.431, allocations: 3.812 kB / 1.375 GB, free: 32.31 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008844/1.432, allocations: 0.9589 MB / 1.376 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.432, allocations: 11.69 kB / 1.376 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/1.432, allocations: 64.36 kB / 1.376 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/1.432, allocations: 210.6 kB / 1.377 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/1.432, allocations: 6.609 kB / 1.377 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/1.432, allocations: 63.7 kB / 1.377 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/1.432, allocations: 40.25 kB / 1.377 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/1.433, allocations: 211.9 kB / 1.377 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/1.433, allocations: 3.938 kB / 1.377 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/1.433, allocations: 6.781 kB / 1.377 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.433, allocations: 0 / 1.377 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008232/1.434, allocations: 0.8124 MB / 1.378 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/1.434, allocations: 308.3 kB / 1.378 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/1.434, allocations: 127.9 kB / 1.378 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/1.434, allocations: 7.969 kB / 1.378 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000453/1.434, allocations: 442.6 kB / 1.379 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=45): time 1.703e-06/1.434, allocations: 4 kB / 1.379 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45): time 0.000766/1.435, allocations: 419.6 kB / 1.379 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.435, allocations: 434 kB / 1.379 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/1.436, allocations: 246.3 kB / 1.38 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001226/1.436, allocations: 55.86 kB / 1.38 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/1.436, allocations: 163.7 kB / 1.38 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/1.436, allocations: 86.27 kB / 1.38 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/1.436, allocations: 26.06 kB / 1.38 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.436, allocations: 357.3 kB / 1.38 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006139/1.437, allocations: 363.6 kB / 1.381 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/1.438, allocations: 0.632 MB / 1.381 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/1.439, allocations: 0.5018 MB / 1.382 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.439, allocations: 4 kB / 1.382 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002919/1.442, allocations: 1.28 MB / 1.383 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/1.442, allocations: 482 kB / 1.384 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.442, allocations: 7.719 kB / 1.384 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/1.442, allocations: 15.5 kB / 1.384 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/1.443, allocations: 31.11 kB / 1.384 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/1.443, allocations: 23.36 kB / 1.384 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/1.445, allocations: 0.5268 MB / 1.384 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/1.445, allocations: 100.6 kB / 1.384 GB, free: 27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003331/1.445, allocations: 189.5 kB / 1.384 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/1.445, allocations: 50.75 kB / 1.384 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.094e-05/1.445, allocations: 32.08 kB / 1.384 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.445, allocations: 11.5 kB / 1.384 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.445, allocations: 3.875 kB / 1.384 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.445, allocations: 7.812 kB / 1.384 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/1.446, allocations: 283.2 kB / 1.385 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.446, allocations: 11.8 kB / 1.385 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/1.446, allocations: 15.77 kB / 1.385 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/1.446, allocations: 7.688 kB / 1.385 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/1.446, allocations: 18.81 kB / 1.385 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/1.446, allocations: 11.62 kB / 1.385 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.446, allocations: 3.969 kB / 1.385 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/1.446, allocations: 0.6407 MB / 1.385 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/1.446, allocations: 104.4 kB / 1.386 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/1.447, allocations: 14.36 kB / 1.386 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.447, allocations: 11.83 kB / 1.386 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/1.447, allocations: 63.83 kB / 1.386 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/1.447, allocations: 27.14 kB / 1.386 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001213/1.447, allocations: 173.6 kB / 1.386 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.447, allocations: 0 / 1.386 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006997/1.448, allocations: 187.9 kB / 1.386 GB, free: 25.85 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001668/1.448, allocations: 139 kB / 1.386 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001312/1.449, allocations: 1.641 MB / 1.388 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.449, allocations: 3.938 kB / 1.388 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/1.449, allocations: 166.7 kB / 1.388 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/1.45, allocations: 104.6 kB / 1.388 GB, free: 24.67 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/1.45, allocations: 482.4 kB / 1.388 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/1.451, allocations: 0.7815 MB / 1.389 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001108/1.451, allocations: 42.38 kB / 1.389 GB, free: 23.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/1.451, allocations: 37.77 kB / 1.389 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.451, allocations: 0 / 1.389 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of Templates: time 0.0133/1.464, allocations: 10.01 MB / 1.399 GB, free: 18.44 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches