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.303/2.303, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001163/0.001163, allocations: 194.1 kB / 0.4902 GB, free: 2.234 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.589/1.589, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.001366/0.001365, allocations: 114.2 kB / 0.9397 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003892, allocations: 10.5 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3123, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.5034, allocations: 150.4 MB / 1.376 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.5037, allocations: 75.95 kB / 1.376 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.05195/0.5556, allocations: 17.42 MB / 1.393 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5557, allocations: 4 kB / 1.393 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.5557, allocations: 4 kB / 1.393 GB, free: 13.31 MB / 0.9011 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.001112/0.5568, allocations: 1.008 MB / 1.394 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5569, allocations: 8.562 kB / 1.394 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.5571, allocations: 71.56 kB / 1.394 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.5573, allocations: 211.2 kB / 1.394 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.5573, allocations: 43.97 kB / 1.395 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.5575, allocations: 63.98 kB / 1.395 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.5578, allocations: 212.6 kB / 1.395 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5578, allocations: 4 kB / 1.395 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.5579, allocations: 15.86 kB / 1.395 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5579, allocations: 4 kB / 1.395 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.558, allocations: 67.78 kB / 1.395 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009645/0.559, allocations: 0.8406 MB / 1.396 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.5593, allocations: 331.2 kB / 1.396 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.5593, allocations: 12 kB / 1.396 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000647/0.56, allocations: 451.6 kB / 1.396 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.56, allocations: 0 / 1.396 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of matching and sorting (n=45): time 0.001058/0.561, allocations: 0.5613 MB / 1.397 GB, free: 8.898 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/0.5612, allocations: 435.2 kB / 1.397 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.5615, allocations: 263.5 kB / 1.398 GB, free: 8.109 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.5616, allocations: 61.7 kB / 1.398 GB, free: 8.043 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.5618, allocations: 161.3 kB / 1.398 GB, free: 7.879 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.099e-05/0.5619, allocations: 98.89 kB / 1.398 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.562, allocations: 32 kB / 1.398 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5622, allocations: 354.8 kB / 1.398 GB, free: 7.395 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008119/0.563, allocations: 425.3 kB / 1.399 GB, free: 6.977 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.564, allocations: 0.6989 MB / 1.399 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.565, allocations: 0.8144 MB / 1.4 GB, free: 5.234 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.565, allocations: 8 kB / 1.4 GB, free: 5.227 MB / 0.9011 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002645/0.5677, allocations: 1.705 MB / 1.402 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002856/0.568, allocations: 478.2 kB / 1.402 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.568, allocations: 16 kB / 1.402 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.568, allocations: 12 kB / 1.402 GB, free: 2.836 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.5681, allocations: 35.8 kB / 1.402 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.5681, allocations: 27.91 kB / 1.402 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.5704, allocations: 0.5388 MB / 1.403 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.5706, allocations: 95.92 kB / 1.403 GB, free: 2.141 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.0003512/0.571, allocations: 225.5 kB / 1.403 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.571, allocations: 39.53 kB / 1.403 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.792e-05/0.5711, allocations: 38.14 kB / 1.403 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.5711, allocations: 8 kB / 1.403 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.5712, allocations: 8 kB / 1.403 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5712, allocations: 7.984 kB / 1.403 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.5715, allocations: 333.4 kB / 1.404 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.5716, allocations: 3.938 kB / 1.404 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.5716, allocations: 19.92 kB / 1.404 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.5716, allocations: 8 kB / 1.404 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.5716, allocations: 19.92 kB / 1.404 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.5716, allocations: 4 kB / 1.404 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.5717, allocations: 4 kB / 1.404 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.5724, allocations: 0.6878 MB / 1.404 GB, free: 0.5391 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.5725, allocations: 108.7 kB / 1.405 GB, free: 424 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.5725, allocations: 15.98 kB / 1.405 GB, free: 408 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.5726, allocations: 19.98 kB / 1.405 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.5727, allocations: 59.83 kB / 1.405 GB, free: 328 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.5728, allocations: 27.98 kB / 1.405 GB, free: 300 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001566/0.5729, allocations: 195.1 kB / 1.405 GB, free: 108 kB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5729, allocations: 0 / 1.405 GB, free: 108 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.5874/1.16, allocations: 197 kB / 1.405 GB, free: 172 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.0002527/1.161, allocations: 138.8 kB / 1.405 GB, free: 171.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002367/1.163, allocations: 1.748 MB / 1.407 GB, free: 170.9 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/1.163, allocations: 0 / 1.407 GB, free: 170.9 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002883/1.163, allocations: 184.2 kB / 1.407 GB, free: 170.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/1.164, allocations: 108.5 kB / 1.407 GB, free: 170.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009925/1.165, allocations: 0.6846 MB / 1.408 GB, free: 170.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/1.165, allocations: 0.7819 MB / 1.409 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001451/1.165, allocations: 42.77 kB / 1.409 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/1.165, allocations: 40.98 kB / 1.409 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of SimCode: time 3.3e-07/1.165, allocations: 0 / 1.409 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.02583/1.191, allocations: 10.84 MB / 1.419 GB, free: 169.1 MB / 0.9011 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