Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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.202/2.202, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001519/0.001519, allocations: 171.3 kB / 498.1 MB, free: 5.727 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.462/1.462, allocations: 223.1 MB / 0.7948 GB, free: 17.9 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.0009198/0.0009199, allocations: 86.36 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003981, allocations: 10.31 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2459, allocations: 142.4 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.4106, allocations: 149.9 MB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.4108, allocations: 75.94 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009392/0.4202, allocations: 3.279 MB / 1.373 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4203, allocations: 0 / 1.373 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.4203, allocations: 4 kB / 1.373 GB, free: 8.68 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.0005409/0.4208, allocations: 456.5 kB / 1.373 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4209, allocations: 8.031 kB / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.4209, allocations: 42.5 kB / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.421, allocations: 15.89 kB / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.4211, allocations: 183.5 kB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.4211, allocations: 4 kB / 1.373 GB, free: 7.883 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.4212, allocations: 16 kB / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.4214, allocations: 100 kB / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4214, allocations: 0 / 1.373 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4214, allocations: 11.92 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4214, allocations: 3.938 kB / 1.373 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.4216, allocations: 63.91 kB / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.4225, allocations: 448.3 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.4227, allocations: 46.56 kB / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.4227, allocations: 3.984 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.4229, allocations: 108.3 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.423, allocations: 0 / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004501/0.4234, allocations: 173.4 kB / 1.374 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.4235, allocations: 51.41 kB / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4236, allocations: 129.6 kB / 1.374 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.4236, allocations: 33.7 kB / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.4237, allocations: 104.3 kB / 1.375 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.4237, allocations: 23.84 kB / 1.375 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.4237, allocations: 4 kB / 1.375 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4239, allocations: 322.8 kB / 1.375 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.4241, allocations: 67.91 kB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4243, allocations: 142.2 kB / 1.375 GB, free: 5.906 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.4245, allocations: 101.6 kB / 1.375 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4245, allocations: 384 / 1.375 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005083/0.425, allocations: 263.1 kB / 1.375 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.425, allocations: 37.7 kB / 1.375 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4251, allocations: 4 kB / 1.375 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4251, allocations: 7.938 kB / 1.375 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4252, allocations: 23.92 kB / 1.375 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4252, allocations: 7.984 kB / 1.376 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.4255, allocations: 52.06 kB / 1.376 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.4255, allocations: 19.97 kB / 1.376 GB, free: 5.375 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: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * 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.0001046/0.4256, allocations: 133.7 kB / 1.376 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.4257, allocations: 15.86 kB / 1.376 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.4257, allocations: 12.7 kB / 1.376 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4257, allocations: 4 kB / 1.376 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.4257, allocations: 0 / 1.376 GB, free: 5.199 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4257, allocations: 3.938 kB / 1.376 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.4263, allocations: 426.4 kB / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4263, allocations: 0 / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.4265, allocations: 19.98 kB / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4265, allocations: 0 / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4265, allocations: 0 / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4265, allocations: 0 / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4265, allocations: 4 kB / 1.376 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.427, allocations: 279.2 kB / 1.376 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.427, allocations: 93.02 kB / 1.377 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.427, allocations: 7.969 kB / 1.377 GB, free: 4.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4271, allocations: 8 kB / 1.377 GB, free: 4.285 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.4272, allocations: 11.98 kB / 1.377 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.4272, allocations: 4 kB / 1.377 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.184e-05/0.4273, allocations: 113.9 kB / 1.377 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4273, allocations: 0 / 1.377 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000294/0.4276, allocations: 39.98 kB / 1.377 GB, free: 4.121 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (intDef.trigger,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008451/0.4284, allocations: 0.8448 MB / 1.378 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003923/0.4288, allocations: 199.8 kB / 1.378 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4289, allocations: 4.062 kB / 1.378 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.429, allocations: 51.91 kB / 1.378 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.4292, allocations: 17.53 kB / 1.378 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.4306, allocations: 2.232 MB / 1.38 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.4309, allocations: 0.7082 MB / 1.381 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.934e-05/0.4309, allocations: 8.562 kB / 1.381 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.431, allocations: 35.42 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.431, allocations: 0 / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.4441, allocations: 2.867 MB / 1.383 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.4443, allocations: 199 kB / 1.384 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.066, allocations: 0 / 1.384 GB, free: 12.95 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset_res.mat does not exist to compare? outputFormat=mat