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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.26/2.26, 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.001111/0.001111, allocations: 183 kB / 498.1 MB, free: 5.762 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.487/1.487, allocations: 223.1 MB / 0.7948 GB, free: 18.95 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.0009817/0.0009817, allocations: 96.25 kB / 0.9346 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 11.22 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2566, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.4461, allocations: 149.5 MB / 1.369 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.4465, allocations: 71.95 kB / 1.369 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01829/0.4648, allocations: 6.205 MB / 1.375 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4649, allocations: 4 kB / 1.375 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.4649, allocations: 4 kB / 1.375 GB, free: 13.47 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.0008934/0.4658, allocations: 0.5793 MB / 1.376 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4659, allocations: 8.031 kB / 1.376 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.723e-05/0.4659, allocations: 42.5 kB / 1.376 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.4661, allocations: 35.67 kB / 1.376 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.4663, allocations: 217.8 kB / 1.376 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.4663, allocations: 12 kB / 1.376 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.4664, allocations: 24 kB / 1.376 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.4666, allocations: 127.2 kB / 1.376 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4667, allocations: 0 / 1.376 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.4667, allocations: 7.984 kB / 1.376 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4667, allocations: 4 kB / 1.376 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.4668, allocations: 47.92 kB / 1.376 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.4679, allocations: 0.8757 MB / 1.377 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.468, allocations: 118.4 kB / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.4681, allocations: 8.047 kB / 1.377 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002985/0.4684, allocations: 182.5 kB / 1.377 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.4684, allocations: 0 / 1.377 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0004748/0.4689, allocations: 226 kB / 1.378 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.469, allocations: 132.5 kB / 1.378 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.4692, allocations: 216.1 kB / 1.378 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.4693, allocations: 41.69 kB / 1.378 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.4694, allocations: 128.5 kB / 1.378 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.4695, allocations: 31.61 kB / 1.378 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.4695, allocations: 8 kB / 1.378 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4697, allocations: 334.8 kB / 1.378 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.47, allocations: 144.2 kB / 1.379 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.4703, allocations: 225.5 kB / 1.379 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.4706, allocations: 254.8 kB / 1.379 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.4706, allocations: 0 / 1.379 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009346/0.4716, allocations: 0.5505 MB / 1.38 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.4717, allocations: 140.3 kB / 1.38 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4717, allocations: 4 kB / 1.38 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4718, allocations: 7.938 kB / 1.38 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.4719, allocations: 16.23 kB / 1.38 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4719, allocations: 11.92 kB / 1.38 GB, free: 8.324 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.4726, allocations: 151.7 kB / 1.38 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/0.4726, allocations: 27.98 kB / 1.38 GB, free: 8.148 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.0001698/0.4728, allocations: 141.8 kB / 1.38 GB, free: 8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.4729, allocations: 23.77 kB / 1.38 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.4729, allocations: 21.23 kB / 1.38 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.4729, allocations: 8 kB / 1.38 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.473, allocations: 7.938 kB / 1.38 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.473, allocations: 4 kB / 1.38 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.4733, allocations: 257.5 kB / 1.38 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4733, allocations: 0 / 1.38 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.4733, allocations: 15.98 kB / 1.38 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4733, allocations: 4 kB / 1.38 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.4733, allocations: 7.953 kB / 1.38 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4734, allocations: 0 / 1.38 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4734, allocations: 3.938 kB / 1.38 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.4737, allocations: 260.4 kB / 1.381 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.4738, allocations: 92.83 kB / 1.381 GB, free: 7.195 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.4738, allocations: 11.98 kB / 1.381 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.814e-05/0.4739, allocations: 0 / 1.381 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.4739, allocations: 19.98 kB / 1.381 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.474, allocations: 15.92 kB / 1.381 GB, free: 7.148 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001667/0.4741, allocations: 164.5 kB / 1.381 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4741, allocations: 0 / 1.381 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003509/0.4745, allocations: 67.98 kB / 1.381 GB, free: 6.926 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.0007492/0.4753, allocations: 1.012 MB / 1.382 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007416/0.476, allocations: 0.5326 MB / 1.382 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.476, allocations: 0 / 1.382 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.4761, allocations: 64.58 kB / 1.383 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.4765, allocations: 57.05 kB / 1.383 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.4783, allocations: 2.328 MB / 1.385 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.4787, allocations: 0.7323 MB / 1.386 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.538e-05/0.4788, allocations: 21.55 kB / 1.386 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.245e-05/0.4789, allocations: 63.41 kB / 1.386 GB, free: 1.879 MB / 0.8855 GB Notification: Performance of SimCode: time 7.11e-07/0.4789, allocations: 0 / 1.386 GB, free: 1.879 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.4991, allocations: 5.978 MB / 1.391 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.4994, allocations: 189.2 kB / 1.392 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.303, allocations: 3.234 kB / 1.392 GB, free: 11.85 MB / 0.9011 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat