Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.3 MB / 405.3 MB, free: 13.57 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.001186/0.001186, allocations: 185 kB / 498.1 MB, free: 5.801 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.525/1.525, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0009605/0.0009609, allocations: 97.25 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003297, allocations: 10.47 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2906, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.4866, allocations: 149.6 MB / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4869, allocations: 71.95 kB / 1.369 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06793/0.5548, allocations: 17.43 MB / 1.386 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5549, allocations: 0 / 1.386 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.5549, allocations: 4 kB / 1.386 GB, free: 11.01 MB / 0.8855 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.002013/0.5569, allocations: 1.008 MB / 1.387 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.557, allocations: 12.03 kB / 1.387 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.5575, allocations: 67.66 kB / 1.387 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.5578, allocations: 207.3 kB / 1.387 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.984e-05/0.5579, allocations: 35.98 kB / 1.387 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003455/0.5582, allocations: 64 kB / 1.387 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.5587, allocations: 216.6 kB / 1.388 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5587, allocations: 3.938 kB / 1.388 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.5587, allocations: 7.984 kB / 1.388 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.5587, allocations: 0 / 1.388 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.5589, allocations: 71.78 kB / 1.388 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.5604, allocations: 0.8484 MB / 1.389 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.5608, allocations: 323.2 kB / 1.389 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.5609, allocations: 8.047 kB / 1.389 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007647/0.5616, allocations: 459 kB / 1.389 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=45): time 3.317e-06/0.5617, allocations: 0 / 1.389 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.001016/0.5627, allocations: 0.5539 MB / 1.39 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.5629, allocations: 439.2 kB / 1.39 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.5631, allocations: 267.4 kB / 1.391 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.5633, allocations: 69.69 kB / 1.391 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.5635, allocations: 161.3 kB / 1.391 GB, free: 5.582 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.5636, allocations: 86.91 kB / 1.391 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.5637, allocations: 40 kB / 1.391 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5639, allocations: 354.7 kB / 1.391 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008285/0.5647, allocations: 421.3 kB / 1.392 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009717/0.5657, allocations: 0.6989 MB / 1.392 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009774/0.5667, allocations: 0.8179 MB / 1.393 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.5667, allocations: 4 kB / 1.393 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002648/0.5694, allocations: 1.702 MB / 1.395 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002917/0.5697, allocations: 491.1 kB / 1.395 GB, free: 0.5664 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.5697, allocations: 8 kB / 1.395 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.5697, allocations: 16 kB / 1.395 GB, free: 0.543 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.5698, allocations: 31.86 kB / 1.395 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.5698, allocations: 15.94 kB / 1.395 GB, free: 0.4961 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/0.5721, allocations: 0.546 MB / 1.396 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.5723, allocations: 103.9 kB / 1.396 GB, free: 15.85 MB / 0.9011 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 () * Number of clocked 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.0003291/0.5726, allocations: 225.5 kB / 1.396 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.5727, allocations: 39.53 kB / 1.396 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/0.5728, allocations: 38.14 kB / 1.396 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.5728, allocations: 11.98 kB / 1.396 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.5729, allocations: 4 kB / 1.396 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5729, allocations: 4 kB / 1.396 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/0.5732, allocations: 325.4 kB / 1.397 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.5733, allocations: 8 kB / 1.397 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.5733, allocations: 23.92 kB / 1.397 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5733, allocations: 4 kB / 1.397 GB, free: 15.12 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.5733, allocations: 23.98 kB / 1.397 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.5734, allocations: 11.92 kB / 1.397 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5734, allocations: 4 kB / 1.397 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006918/0.5741, allocations: 0.6761 MB / 1.397 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.995e-05/0.5742, allocations: 116.6 kB / 1.397 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.5742, allocations: 15.98 kB / 1.397 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5743, allocations: 8 kB / 1.397 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.5744, allocations: 63.83 kB / 1.397 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.5745, allocations: 31.97 kB / 1.398 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001608/0.5746, allocations: 187.1 kB / 1.398 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5746, allocations: 0 / 1.398 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000689/0.5753, allocations: 204 kB / 1.398 GB, free: 13.62 MB / 0.9011 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 () * Number of clocked 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.0002049/0.5756, allocations: 146.8 kB / 1.398 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.5775, allocations: 1.747 MB / 1.4 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5775, allocations: 4.188 kB / 1.4 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.5777, allocations: 179.7 kB / 1.4 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.5783, allocations: 120 kB / 1.4 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.5794, allocations: 0.6746 MB / 1.401 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.5798, allocations: 0.7842 MB / 1.401 GB, free: 9.699 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.5799, allocations: 42.97 kB / 1.401 GB, free: 9.652 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/0.58, allocations: 35.44 kB / 1.402 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of SimCode: time 5.31e-07/0.58, allocations: 0 / 1.402 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of Templates: time 0.01871/0.5987, allocations: 10.84 MB / 1.412 GB, free: 14.93 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_PulsePositiveStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.PulsePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches