Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001162, allocations: 180.3 kB / 498.1 MB, free: 5.75 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.511/1.511, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0008931/0.0008932, allocations: 100.3 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003586, allocations: 10.97 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.4722, allocations: 149.5 MB / 1.369 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.4725, allocations: 71.95 kB / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005448/0.4779, allocations: 2.014 MB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4779, allocations: 0 / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.478, allocations: 4 kB / 1.371 GB, free: 10.51 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.0003908/0.4784, allocations: 388.7 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4784, allocations: 12.03 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.4785, allocations: 7.984 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.4786, allocations: 178.9 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.4786, allocations: 4 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.4787, allocations: 4 kB / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.4788, allocations: 41.69 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4788, allocations: 3.938 kB / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4788, allocations: 4 kB / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4788, allocations: 0 / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.555e-05/0.4789, allocations: 19.98 kB / 1.372 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.4793, allocations: 328.7 kB / 1.372 GB, free: 9.387 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.014e-05/0.4794, allocations: 30.58 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.4794, allocations: 0 / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.4795, allocations: 75.44 kB / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 3.757e-06/0.4796, allocations: 0 / 1.372 GB, free: 9.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.4798, allocations: 81.52 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.4798, allocations: 55.36 kB / 1.372 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.4799, allocations: 116.9 kB / 1.372 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.4799, allocations: 29.7 kB / 1.372 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.48, allocations: 92.12 kB / 1.372 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.48, allocations: 11.91 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.48, allocations: 0 / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.4802, allocations: 318.8 kB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-05/0.4802, allocations: 31.98 kB / 1.373 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/0.4803, allocations: 58.55 kB / 1.373 GB, free: 8.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.4804, allocations: 65.62 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4804, allocations: 4 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000243/0.4807, allocations: 163.2 kB / 1.373 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.4807, allocations: 37.7 kB / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4807, allocations: 0 / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4807, allocations: 0 / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.365e-05/0.4808, allocations: 7.938 kB / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4808, allocations: 0 / 1.373 GB, free: 8.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.481, allocations: 43.98 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.481, allocations: 11.98 kB / 1.373 GB, free: 8.078 MB / 0.8698 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 8.897e-05/0.4811, allocations: 113.8 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.4811, allocations: 7.906 kB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/0.4811, allocations: 3.906 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4812, allocations: 0 / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4812, allocations: 7.938 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.4812, allocations: 7.984 kB / 1.373 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.4813, allocations: 169.6 kB / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4813, allocations: 0 / 1.373 GB, free: 7.711 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.4813, allocations: 11.94 kB / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4813, allocations: 0 / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.4814, allocations: 0 / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4814, allocations: 3.984 kB / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4814, allocations: 80 / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.4815, allocations: 88.98 kB / 1.373 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.4815, allocations: 85.11 kB / 1.373 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4815, allocations: 0 / 1.373 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.752e-05/0.4816, allocations: 4 kB / 1.373 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.4816, allocations: 3.984 kB / 1.373 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.4816, allocations: 4.062 kB / 1.374 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.434e-05/0.4817, allocations: 99.27 kB / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4817, allocations: 0 / 1.374 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002027/0.4819, allocations: 27.94 kB / 1.374 GB, free: 7.352 MB / 0.8698 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.0001865/0.4821, allocations: 126.9 kB / 1.374 GB, free: 7.215 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.4823, allocations: 131.4 kB / 1.374 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4823, allocations: 0 / 1.374 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.4824, allocations: 19.92 kB / 1.374 GB, free: 7.055 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.4825, allocations: 20.62 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.4828, allocations: 158.9 kB / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.4831, allocations: 0.6887 MB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.824e-05/0.4831, allocations: 8.172 kB / 1.375 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.4831, allocations: 11.38 kB / 1.375 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of SimCode: time 2.9e-07/0.4831, allocations: 0 / 1.375 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of Templates: time 0.003339/0.4865, allocations: 1.211 MB / 1.376 GB, free: 4.922 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches