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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.367/2.367, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001193/0.001193, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 221.3 MB / 0.7915 GB, free: 5.352 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.0009862/0.0009862, allocations: 91.89 kB / 0.9317 GB, free: 5.664 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.105e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2989, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8964/1.195, allocations: 150.3 MB / 1.366 GB, free: 3.797 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.196, allocations: 74.89 kB / 1.366 GB, free: 3.758 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01914/1.215, allocations: 6.189 MB / 1.372 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/1.215, allocations: 0 / 1.372 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.315e-05/1.215, allocations: 4 kB / 1.372 GB, free: 14.45 MB / 0.8386 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.0006523/1.216, allocations: 0.5519 MB / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.216, allocations: 8.031 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.007e-05/1.216, allocations: 42.05 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/1.216, allocations: 31.77 kB / 1.372 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/1.216, allocations: 212 kB / 1.373 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/1.216, allocations: 19.42 kB / 1.373 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.248e-05/1.216, allocations: 19.88 kB / 1.373 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/1.216, allocations: 125.8 kB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.216, allocations: 0 / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.217, allocations: 2.625 kB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.217, allocations: 4 kB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/1.217, allocations: 52.8 kB / 1.373 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009993/1.218, allocations: 0.8726 MB / 1.374 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/1.218, allocations: 111.6 kB / 1.374 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/1.218, allocations: 57.3 kB / 1.374 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/1.218, allocations: 3.953 kB / 1.374 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/1.218, allocations: 173.3 kB / 1.374 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/1.218, allocations: 3.938 kB / 1.374 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003646/1.219, allocations: 182 kB / 1.374 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/1.219, allocations: 132.5 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/1.219, allocations: 216.8 kB / 1.374 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/1.219, allocations: 37.52 kB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.219, allocations: 140.2 kB / 1.375 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/1.219, allocations: 29.89 kB / 1.375 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/1.219, allocations: 7.188 kB / 1.375 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.219, allocations: 333.8 kB / 1.375 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/1.219, allocations: 138.8 kB / 1.375 GB, free: 11.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/1.22, allocations: 223.8 kB / 1.375 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/1.22, allocations: 253 kB / 1.376 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.22, allocations: 0 / 1.376 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008278/1.221, allocations: 0.5428 MB / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.841e-05/1.221, allocations: 133.6 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.221, allocations: 7.984 kB / 1.376 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.221, allocations: 8.25 kB / 1.376 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/1.221, allocations: 15.44 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/1.221, allocations: 7.984 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/1.222, allocations: 147.7 kB / 1.376 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/1.222, allocations: 31.34 kB / 1.376 GB, free: 9.863 MB / 0.8386 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 () * 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.0001278/1.222, allocations: 128.2 kB / 1.377 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/1.222, allocations: 19.77 kB / 1.377 GB, free: 9.719 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/1.222, allocations: 28.42 kB / 1.377 GB, free: 9.691 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.222, allocations: 0 / 1.377 GB, free: 9.691 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/1.222, allocations: 8 kB / 1.377 GB, free: 9.684 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.222, allocations: 0 / 1.377 GB, free: 9.684 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/1.223, allocations: 264.4 kB / 1.377 GB, free: 9.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/1.223, allocations: 3.984 kB / 1.377 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.33e-05/1.223, allocations: 11.94 kB / 1.377 GB, free: 9.398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.223, allocations: 3.953 kB / 1.377 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.223, allocations: 4 kB / 1.377 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.223, allocations: 4 kB / 1.377 GB, free: 9.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.223, allocations: 4 kB / 1.377 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/1.223, allocations: 254.1 kB / 1.377 GB, free: 9.129 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/1.223, allocations: 96.81 kB / 1.377 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/1.223, allocations: 7.438 kB / 1.377 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/1.223, allocations: 4 kB / 1.377 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/1.223, allocations: 15.48 kB / 1.377 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/1.223, allocations: 15.67 kB / 1.377 GB, free: 8.984 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001497/1.223, allocations: 162.8 kB / 1.377 GB, free: 8.848 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.223, allocations: 0 / 1.377 GB, free: 8.848 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003349/1.224, allocations: 75.64 kB / 1.377 GB, free: 8.777 MB / 0.8386 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 () * 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.0006702/1.224, allocations: 1.007 MB / 1.378 GB, free: 7.766 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006197/1.225, allocations: 0.5266 MB / 1.379 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.225, allocations: 0 / 1.379 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/1.225, allocations: 69.61 kB / 1.379 GB, free: 7.262 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/1.226, allocations: 61.25 kB / 1.379 GB, free: 7.215 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006918/1.226, allocations: 296.1 kB / 1.379 GB, free: 6.918 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/1.227, allocations: 0.7363 MB / 1.38 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.645e-05/1.227, allocations: 17.55 kB / 1.38 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/1.227, allocations: 62.78 kB / 1.38 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.227, allocations: 0 / 1.38 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01817/1.245, allocations: 6.056 MB / 1.386 GB, free: 268 kB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/1.245, allocations: 170.4 kB / 1.386 GB, free: 36 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/3.009, allocations: 2.25 kB / 1.386 GB, free: 36 kB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat does not exist to compare? outputFormat=mat