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.444/2.444, allocations: 390.5 MB / 398 MB, free: 10.93 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.001048/0.001048, allocations: 179.1 kB / 491.2 MB, free: 1.582 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.747/1.747, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009087/0.0009087, allocations: 91.92 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.131e-05, allocations: 5.328 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2839, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8877/1.172, allocations: 149.6 MB / 1.359 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/1.172, allocations: 72.02 kB / 1.359 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01769/1.19, allocations: 6.144 MB / 1.365 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.19, allocations: 0 / 1.365 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.333e-05/1.19, allocations: 3.844 kB / 1.365 GB, free: 32.67 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.0006706/1.19, allocations: 0.5512 MB / 1.365 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.191, allocations: 11.62 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/1.191, allocations: 27 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/1.191, allocations: 218.3 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/1.191, allocations: 6.562 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/1.191, allocations: 22.64 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001234/1.191, allocations: 46.09 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/1.191, allocations: 111.2 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.191, allocations: 0 / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/1.191, allocations: 4 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/1.191, allocations: 3.844 kB / 1.366 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/1.192, allocations: 0.8376 MB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/1.192, allocations: 112.6 kB / 1.366 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/1.192, allocations: 59.47 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/1.192, allocations: 0 / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/1.193, allocations: 172.9 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/1.193, allocations: 0 / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003567/1.193, allocations: 172.6 kB / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/1.193, allocations: 128.5 kB / 1.367 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/1.193, allocations: 207.6 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/1.193, allocations: 36.41 kB / 1.367 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/1.193, allocations: 131.4 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/1.193, allocations: 29.88 kB / 1.367 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/1.193, allocations: 11.59 kB / 1.367 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001071/1.194, allocations: 332.7 kB / 1.368 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/1.194, allocations: 128.2 kB / 1.368 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/1.194, allocations: 203 kB / 1.368 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/1.195, allocations: 158.2 kB / 1.368 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.195, allocations: 7.844 kB / 1.368 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009589/1.196, allocations: 434.4 kB / 1.369 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.763e-05/1.196, allocations: 141.5 kB / 1.369 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.196, allocations: 7.828 kB / 1.369 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.196, allocations: 3.875 kB / 1.369 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/1.196, allocations: 19.72 kB / 1.369 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/1.196, allocations: 7 kB / 1.369 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006298/1.196, allocations: 147.2 kB / 1.369 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/1.196, allocations: 32.7 kB / 1.369 GB, free: 30.02 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.0001242/1.197, allocations: 122.7 kB / 1.369 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002048/1.197, allocations: 161.1 kB / 1.369 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/1.197, allocations: 23.36 kB / 1.369 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/1.197, allocations: 19.62 kB / 1.369 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.197, allocations: 3.938 kB / 1.369 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/1.197, allocations: 10.7 kB / 1.369 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.197, allocations: 0 / 1.369 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/1.197, allocations: 228.9 kB / 1.369 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.197, allocations: 0 / 1.369 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/1.197, allocations: 7.812 kB / 1.369 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.197, allocations: 3.844 kB / 1.369 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/1.197, allocations: 6.906 kB / 1.369 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.197, allocations: 3.812 kB / 1.37 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.197, allocations: 3.938 kB / 1.37 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/1.197, allocations: 242.5 kB / 1.37 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/1.198, allocations: 98.75 kB / 1.37 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/1.198, allocations: 0 / 1.37 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/1.198, allocations: 6.609 kB / 1.37 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/1.198, allocations: 22.14 kB / 1.37 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/1.198, allocations: 10.2 kB / 1.37 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001173/1.198, allocations: 152.8 kB / 1.37 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.198, allocations: 0 / 1.37 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003361/1.198, allocations: 72.19 kB / 1.37 GB, free: 29.32 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.0005561/1.199, allocations: 0.998 MB / 1.371 GB, free: 28.42 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004898/1.199, allocations: 0.5004 MB / 1.372 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.199, allocations: 0 / 1.372 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/1.199, allocations: 63.97 kB / 1.372 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/1.2, allocations: 60.08 kB / 1.372 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/1.2, allocations: 277.4 kB / 1.372 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/1.201, allocations: 0.7353 MB / 1.373 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.657e-05/1.201, allocations: 16.69 kB / 1.373 GB, free: 27.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-05/1.201, allocations: 62.28 kB / 1.373 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.201, allocations: 0 / 1.373 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/1.228, allocations: 5.402 MB / 1.378 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/1.228, allocations: 162.4 kB / 1.378 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.964, allocations: 0 / 1.378 GB, free: 26.68 MB / 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