Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.309/2.309, allocations: 393.5 MB / 408.4 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.00149/0.00149, allocations: 182.4 kB / 0.4902 GB, free: 2.242 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.526/1.526, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.00101/0.00101, allocations: 94.95 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003894, allocations: 14.28 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3544, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.5562, allocations: 150.3 MB / 1.376 GB, free: 3.266 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/0.5566, allocations: 71.95 kB / 1.376 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006545/0.5632, allocations: 2.017 MB / 1.378 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5633, allocations: 0 / 1.378 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.5633, allocations: 0 / 1.378 GB, free: 1.176 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004996/0.5638, allocations: 384.9 kB / 1.378 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5638, allocations: 12.03 kB / 1.378 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.5639, allocations: 7.906 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.5641, allocations: 175 kB / 1.379 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.5641, allocations: 8 kB / 1.379 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.5642, allocations: 4 kB / 1.379 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.5643, allocations: 41.69 kB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5643, allocations: 0 / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.5643, allocations: 3.938 kB / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5643, allocations: 0 / 1.379 GB, free: 464 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.166e-05/0.5644, allocations: 16 kB / 1.379 GB, free: 448 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.5649, allocations: 332.7 kB / 1.379 GB, free: 64 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.081e-05/0.565, allocations: 34.56 kB / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.565, allocations: 0 / 1.379 GB, free: 20 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.5652, allocations: 67.39 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.5653, allocations: 3.938 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002584/0.5655, allocations: 69.69 kB / 1.379 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.5656, allocations: 55.36 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.5657, allocations: 124.9 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.5658, allocations: 29.7 kB / 1.379 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.5659, allocations: 96.02 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.5659, allocations: 7.906 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.5659, allocations: 3.938 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5661, allocations: 322.8 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.5662, allocations: 35.97 kB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.5663, allocations: 62.55 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.5664, allocations: 69.75 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5664, allocations: 0 / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00029/0.5667, allocations: 159.2 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.5667, allocations: 41.69 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.5668, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.5668, allocations: 0 / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.5669, allocations: 4 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.5669, allocations: 4.062 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.5671, allocations: 39.92 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.5671, allocations: 8 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001281/0.5673, allocations: 122.6 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.5673, allocations: 11.91 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.5673, allocations: 3.906 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.5673, allocations: 4 kB / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5674, allocations: 0 / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5674, allocations: 0 / 1.38 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.5675, allocations: 177.6 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5676, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.223e-05/0.5676, allocations: 4 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.5676, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.5676, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.5676, allocations: 0 / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5676, allocations: 7.938 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.5678, allocations: 93.06 kB / 1.381 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.5678, allocations: 81.02 kB / 1.381 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.5679, allocations: 7.938 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.783e-05/0.5679, allocations: 0 / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.5679, allocations: 0 / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.5679, allocations: 7.984 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.025e-05/0.568, allocations: 95.28 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.568, allocations: 0 / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002553/0.5683, allocations: 23.98 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000255/0.5686, allocations: 115.1 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.5688, allocations: 131.7 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5688, allocations: 3.938 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.5689, allocations: 15.98 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.5691, allocations: 26.86 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.5696, allocations: 155 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.5699, allocations: 0.6897 MB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.973e-05/0.5699, allocations: 12.17 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.57, allocations: 7.438 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.57, allocations: 0 / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.004137/0.5741, allocations: 1.223 MB / 1.383 GB, free: 11.59 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches