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.295/2.295, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001008/0.001008, allocations: 188.8 kB / 487.4 MB, free: 5.035 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.578/1.578, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008658/0.0008659, allocations: 99.78 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.052e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3208, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.351, allocations: 148.8 MB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/1.352, allocations: 71.27 kB / 1.351 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01857/1.37, allocations: 6.159 MB / 1.357 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.723e-06/1.37, allocations: 0 / 1.357 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.937e-06/1.37, allocations: 3.844 kB / 1.357 GB, free: 33.54 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.0005213/1.371, allocations: 0.5515 MB / 1.358 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/1.371, allocations: 11.72 kB / 1.358 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.57e-05/1.371, allocations: 33.09 kB / 1.358 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.371, allocations: 212.9 kB / 1.358 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/1.371, allocations: 3.844 kB / 1.358 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/1.371, allocations: 20.73 kB / 1.358 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001028/1.371, allocations: 44.39 kB / 1.358 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/1.371, allocations: 110.3 kB / 1.358 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.371, allocations: 4 kB / 1.358 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.371, allocations: 3.938 kB / 1.358 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.371, allocations: 7.781 kB / 1.358 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000817/1.372, allocations: 0.8379 MB / 1.359 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/1.372, allocations: 110.1 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/1.373, allocations: 55.14 kB / 1.359 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/1.373, allocations: 3.844 kB / 1.359 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/1.373, allocations: 170.5 kB / 1.36 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/1.373, allocations: 0 / 1.36 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003011/1.373, allocations: 162.9 kB / 1.36 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/1.373, allocations: 135.8 kB / 1.36 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/1.373, allocations: 202.3 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/1.373, allocations: 35.88 kB / 1.36 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.374, allocations: 133.2 kB / 1.36 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/1.374, allocations: 32.31 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/1.374, allocations: 9.828 kB / 1.36 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.374, allocations: 329.7 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/1.374, allocations: 128.1 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/1.374, allocations: 211.4 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/1.375, allocations: 150.6 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.375, allocations: 4 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009141/1.376, allocations: 447.2 kB / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/1.376, allocations: 137.7 kB / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/1.376, allocations: 7.875 kB / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.376, allocations: 8.078 kB / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/1.376, allocations: 13.39 kB / 1.362 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/1.376, allocations: 9.406 kB / 1.362 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/1.376, allocations: 148.6 kB / 1.362 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/1.377, allocations: 27.78 kB / 1.362 GB, free: 30.9 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.0001176/1.377, allocations: 130.5 kB / 1.362 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001828/1.377, allocations: 161.2 kB / 1.362 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/1.377, allocations: 24.72 kB / 1.362 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/1.377, allocations: 18.66 kB / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/1.377, allocations: 7.719 kB / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.377, allocations: 1.734 kB / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.377, allocations: 3.875 kB / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/1.377, allocations: 225.9 kB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.377, allocations: 3.938 kB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.746e-05/1.377, allocations: 9.406 kB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/1.377, allocations: 0 / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/1.377, allocations: 5.172 kB / 1.362 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.377, allocations: 11.67 kB / 1.362 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.377, allocations: 1.969 kB / 1.362 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/1.377, allocations: 239.4 kB / 1.363 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/1.378, allocations: 93.33 kB / 1.363 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/1.378, allocations: 5.516 kB / 1.363 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/1.378, allocations: 5.547 kB / 1.363 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/1.378, allocations: 19.86 kB / 1.363 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.378, allocations: 7.688 kB / 1.363 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001268/1.378, allocations: 158.7 kB / 1.363 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.378, allocations: 0 / 1.363 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003333/1.378, allocations: 67.7 kB / 1.363 GB, free: 30.19 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.0005879/1.379, allocations: 0.9985 MB / 1.364 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005092/1.379, allocations: 0.5014 MB / 1.364 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.379, allocations: 3.75 kB / 1.364 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.329e-05/1.379, allocations: 58.61 kB / 1.364 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/1.38, allocations: 57.22 kB / 1.365 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/1.38, allocations: 289.4 kB / 1.365 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/1.381, allocations: 0.7376 MB / 1.366 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.573e-05/1.381, allocations: 17.88 kB / 1.366 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/1.381, allocations: 60.2 kB / 1.366 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.381, allocations: 0 / 1.366 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/1.405, allocations: 5.396 MB / 1.371 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.406, allocations: 151.5 kB / 1.371 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/3.195, allocations: 0 / 1.371 GB, free: 27.57 MB / 0.8386 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