Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.CDL.Integers.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.369/2.369, allocations: 390.3 MB / 405.3 MB, free: 13.4 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.001259/0.001259, allocations: 169.1 kB / 498.1 MB, free: 5.68 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.633/1.633, 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.000946/0.0009465, allocations: 98.38 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 10.34 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2969, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.4811, allocations: 149.5 MB / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4814, allocations: 71.95 kB / 1.369 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.4986, allocations: 6.206 MB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.926e-06/0.4987, allocations: 4 kB / 1.375 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4987, allocations: 3.938 kB / 1.375 GB, free: 6.234 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006897/0.4994, allocations: 0.5793 MB / 1.376 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4994, allocations: 8.031 kB / 1.376 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.437e-05/0.4995, allocations: 35.7 kB / 1.376 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.4997, allocations: 213.8 kB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.4998, allocations: 16 kB / 1.376 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.4998, allocations: 24 kB / 1.376 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.5, allocations: 125 kB / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5, allocations: 3.938 kB / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5001, allocations: 0 / 1.376 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5001, allocations: 4 kB / 1.376 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.5002, allocations: 51.92 kB / 1.376 GB, free: 5.051 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009798/0.5012, allocations: 0.8796 MB / 1.377 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.5013, allocations: 118.4 kB / 1.377 GB, free: 3.957 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.5013, allocations: 4 kB / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.5016, allocations: 177.8 kB / 1.377 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.5017, allocations: 0 / 1.377 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.000495/0.5022, allocations: 221.2 kB / 1.377 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.5023, allocations: 144.5 kB / 1.378 GB, free: 3.363 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.5025, allocations: 220 kB / 1.378 GB, free: 3.145 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.5026, allocations: 37.7 kB / 1.378 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.5027, allocations: 124.5 kB / 1.378 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.5028, allocations: 35.53 kB / 1.378 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.5028, allocations: 12 kB / 1.378 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.503, allocations: 330.8 kB / 1.378 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.5033, allocations: 148.2 kB / 1.378 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.5037, allocations: 221.5 kB / 1.379 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.5041, allocations: 258.7 kB / 1.379 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5041, allocations: 4 kB / 1.379 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009484/0.505, allocations: 0.5466 MB / 1.379 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.5052, allocations: 135 kB / 1.38 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5052, allocations: 8 kB / 1.38 GB, free: 1.176 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/0.5053, allocations: 4 kB / 1.38 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.5054, allocations: 19.92 kB / 1.38 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.5054, allocations: 4 kB / 1.38 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/0.5061, allocations: 155.7 kB / 1.38 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/0.5062, allocations: 19.98 kB / 1.38 GB, free: 0.9766 MB / 0.8698 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.0002038/0.5064, allocations: 153.8 kB / 1.38 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.5064, allocations: 19.77 kB / 1.38 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.51e-05/0.5065, allocations: 29.23 kB / 1.38 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.5065, allocations: 0 / 1.38 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.5065, allocations: 4 kB / 1.38 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.5066, allocations: 0 / 1.38 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.5068, allocations: 261.5 kB / 1.38 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5069, allocations: 0 / 1.38 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.5069, allocations: 11.98 kB / 1.38 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5069, allocations: 0 / 1.38 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.5069, allocations: 7.953 kB / 1.38 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5069, allocations: 0 / 1.38 GB, free: 452 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.507, allocations: 7.938 kB / 1.38 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.5073, allocations: 253.4 kB / 1.38 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.5074, allocations: 100.9 kB / 1.381 GB, free: 24 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.5074, allocations: 4 kB / 1.381 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.5075, allocations: 8 kB / 1.381 GB, free: 12 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.5075, allocations: 7.984 kB / 1.381 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.5076, allocations: 15.98 kB / 1.381 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001564/0.5078, allocations: 160.5 kB / 1.381 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5078, allocations: 0 / 1.381 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003511/0.5081, allocations: 79.89 kB / 1.381 GB, free: 15.75 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.0002612/0.5084, allocations: 122.9 kB / 1.381 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007037/0.5091, allocations: 0.5287 MB / 1.381 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5091, allocations: 0 / 1.381 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.5092, allocations: 67.86 kB / 1.382 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.5096, allocations: 65.45 kB / 1.382 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.5103, allocations: 380.7 kB / 1.382 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5107, allocations: 0.7323 MB / 1.383 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.845e-05/0.5108, allocations: 21.55 kB / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.5108, allocations: 15.44 kB / 1.383 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of SimCode: time 1.9e-07/0.5108, allocations: 0 / 1.383 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of Templates: time 0.00808/0.5189, allocations: 4.165 MB / 1.387 GB, free: 9.598 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches