Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.346/2.346, allocations: 393.5 MB / 408.5 MB, free: 10.98 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.001031/0.00103, allocations: 184 kB / 0.4902 GB, free: 2.238 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.599/1.599, allocations: 223.2 MB / 0.7992 GB, free: 14.67 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.0009395/0.0009397, allocations: 107.1 kB / 0.9396 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 11.91 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.325, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.53, allocations: 150.3 MB / 1.376 GB, free: 3.184 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.5302, allocations: 71.95 kB / 1.376 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.5487, allocations: 6.201 MB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5488, allocations: 4 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.5488, allocations: 4 kB / 1.382 GB, free: 12.89 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006804/0.5495, allocations: 0.5832 MB / 1.383 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.5495, allocations: 8.562 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.5496, allocations: 35.72 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.5498, allocations: 213.8 kB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.5499, allocations: 19.98 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-05/0.5499, allocations: 20 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.5501, allocations: 125 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5502, allocations: 0 / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5502, allocations: 0 / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5502, allocations: 4 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.5503, allocations: 55.91 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.5513, allocations: 0.8756 MB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.5515, allocations: 126.4 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.5515, allocations: 0 / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.5518, allocations: 174.7 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.5518, allocations: 0 / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0004402/0.5523, allocations: 225.2 kB / 1.385 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.5523, allocations: 140.5 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.5526, allocations: 220 kB / 1.385 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.5526, allocations: 37.7 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5527, allocations: 128.5 kB / 1.385 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.5528, allocations: 31.61 kB / 1.385 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.5528, allocations: 12 kB / 1.385 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.553, allocations: 330.8 kB / 1.385 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.5532, allocations: 144.2 kB / 1.386 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.5536, allocations: 226.6 kB / 1.386 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.5539, allocations: 250.7 kB / 1.386 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.5539, allocations: 8 kB / 1.386 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008579/0.5548, allocations: 0.5505 MB / 1.387 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.194e-05/0.5549, allocations: 137 kB / 1.387 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5549, allocations: 4 kB / 1.387 GB, free: 7.828 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5549, allocations: 4 kB / 1.387 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.555, allocations: 16.88 kB / 1.387 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.555, allocations: 7.938 kB / 1.387 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006381/0.5557, allocations: 144.1 kB / 1.387 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.5557, allocations: 27.97 kB / 1.387 GB, free: 7.633 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001832/0.5559, allocations: 161.6 kB / 1.387 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.556, allocations: 27.66 kB / 1.387 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.556, allocations: 21.25 kB / 1.387 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.556, allocations: 0 / 1.387 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.5561, allocations: 4 kB / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5561, allocations: 3.984 kB / 1.387 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.5563, allocations: 261.5 kB / 1.387 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5563, allocations: 4 kB / 1.387 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.955e-05/0.5564, allocations: 11.94 kB / 1.387 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5564, allocations: 0 / 1.387 GB, free: 7.086 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.5564, allocations: 11.94 kB / 1.387 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5564, allocations: 0 / 1.387 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5564, allocations: 4 kB / 1.387 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.5568, allocations: 246.9 kB / 1.388 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.5568, allocations: 104.8 kB / 1.388 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.5569, allocations: 3.938 kB / 1.388 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.364e-05/0.5569, allocations: 11.98 kB / 1.388 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.557, allocations: 7.984 kB / 1.388 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.557, allocations: 16 kB / 1.388 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001506/0.5572, allocations: 164.5 kB / 1.388 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5572, allocations: 0 / 1.388 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003251/0.5575, allocations: 71.94 kB / 1.388 GB, free: 6.395 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000188/0.5577, allocations: 114.8 kB / 1.388 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006789/0.5584, allocations: 0.5291 MB / 1.389 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5584, allocations: 4.062 kB / 1.389 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.5585, allocations: 67.91 kB / 1.389 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.5589, allocations: 61.48 kB / 1.389 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.5595, allocations: 375.4 kB / 1.389 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.5599, allocations: 0.7361 MB / 1.39 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.619e-05/0.5599, allocations: 26.28 kB / 1.39 GB, free: 4.375 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.838e-05/0.56, allocations: 15.44 kB / 1.39 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.56, allocations: 0 / 1.39 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of Templates: time 0.007922/0.5679, allocations: 4.152 MB / 1.394 GB, free: 268 kB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches