Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.446/2.446, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001425/0.001425, allocations: 176.9 kB / 496.1 MB, free: 12.85 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.673/1.673, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.00123/0.00123, allocations: 91.75 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.286e-05/4.303e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3144, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9898/1.304, allocations: 150.7 MB / 1.366 GB, free: 3.367 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/1.305, allocations: 62.78 kB / 1.366 GB, free: 3.336 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00993/1.315, allocations: 3.287 MB / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.823e-06/1.315, allocations: 0 / 1.369 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.807e-05/1.315, allocations: 4 kB / 1.369 GB, free: 0.5156 MB / 0.823 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.0005834/1.315, allocations: 431.2 kB / 1.37 GB, free: 56 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.315, allocations: 12.02 kB / 1.37 GB, free: 44 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/1.315, allocations: 42.11 kB / 1.37 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/1.315, allocations: 19.8 kB / 1.37 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/1.316, allocations: 175.6 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/1.316, allocations: 11.19 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/1.316, allocations: 19.16 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/1.316, allocations: 82.75 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/1.316, allocations: 0 / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.316, allocations: 3.375 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.316, allocations: 0 / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/1.316, allocations: 37.7 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009264/1.317, allocations: 433.9 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.651e-05/1.317, allocations: 33.64 kB / 1.371 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/1.317, allocations: 15.73 kB / 1.371 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/1.317, allocations: 0 / 1.371 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/1.317, allocations: 103 kB / 1.371 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/1.317, allocations: 0 / 1.371 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002893/1.318, allocations: 93.14 kB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/1.318, allocations: 59.41 kB / 1.371 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/1.318, allocations: 133 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/1.318, allocations: 29.64 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/1.318, allocations: 108.9 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/1.318, allocations: 26.86 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/1.318, allocations: 3 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.318, allocations: 322.5 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/1.318, allocations: 44.12 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/1.318, allocations: 122.3 kB / 1.372 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/1.318, allocations: 83.3 kB / 1.372 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.318, allocations: 0 / 1.372 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003607/1.319, allocations: 233.7 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/1.319, allocations: 36.7 kB / 1.372 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.319, allocations: 8 kB / 1.372 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.319, allocations: 4 kB / 1.372 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/1.319, allocations: 27.97 kB / 1.372 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/1.319, allocations: 7.938 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/1.319, allocations: 51.62 kB / 1.372 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/1.319, allocations: 15.98 kB / 1.372 GB, free: 13.71 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: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,intDef.trigger) * Number of discrete 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.0001049/1.319, allocations: 121.3 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/1.32, allocations: 15.86 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/1.32, allocations: 18.67 kB / 1.372 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.32, allocations: 3.938 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.32, allocations: 4 kB / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/1.32, allocations: 0 / 1.372 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/1.32, allocations: 390.9 kB / 1.372 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.32, allocations: 192 / 1.372 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/1.32, allocations: 19.11 kB / 1.373 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.32, allocations: 7.938 kB / 1.373 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/1.32, allocations: 4 kB / 1.373 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.32, allocations: 0 / 1.373 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.32, allocations: 0 / 1.373 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/1.321, allocations: 221.5 kB / 1.373 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/1.321, allocations: 85.06 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/1.321, allocations: 6.5 kB / 1.373 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/1.321, allocations: 19.39 kB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/1.321, allocations: 7.984 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/1.321, allocations: 4 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.752e-05/1.321, allocations: 116.7 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.024e-06/1.321, allocations: 0 / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002939/1.321, allocations: 47.23 kB / 1.373 GB, free: 12.64 MB / 0.8386 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 () * 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.0006669/1.322, allocations: 0.7725 MB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002785/1.322, allocations: 164 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.322, allocations: 3.938 kB / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.641e-05/1.322, allocations: 36.44 kB / 1.374 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/1.322, allocations: 14.45 kB / 1.374 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/1.323, allocations: 248.8 kB / 1.374 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/1.323, allocations: 0.7082 MB / 1.375 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.915e-05/1.323, allocations: 8.547 kB / 1.375 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/1.323, allocations: 36.8 kB / 1.375 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.323, allocations: 0 / 1.375 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/1.337, allocations: 2.921 MB / 1.378 GB, free: 7.926 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/1.337, allocations: 188.4 kB / 1.378 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.886, allocations: 0 / 1.378 GB, free: 7.691 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset_res.mat does not exist to compare? outputFormat=mat