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.381/2.381, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001081/0.001081, allocations: 168 kB / 0.4901 GB, free: 2.254 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.577/1.577, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001175/0.001175, allocations: 95.95 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 11.19 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2859, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.4626, allocations: 150.7 MB / 1.376 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4629, allocations: 75.95 kB / 1.377 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00958/0.4725, allocations: 3.293 MB / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4725, allocations: 0 / 1.38 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.4725, allocations: 4 kB / 1.38 GB, free: 15.32 MB / 0.8855 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.0006339/0.4732, allocations: 448.6 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.4732, allocations: 12.03 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.4733, allocations: 34.56 kB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.263e-05/0.4734, allocations: 11.91 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.4735, allocations: 186.8 kB / 1.38 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.4735, allocations: 4 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.4736, allocations: 16 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.4739, allocations: 104.5 kB / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4739, allocations: 0 / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.4739, allocations: 8 kB / 1.381 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4739, allocations: 0 / 1.381 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.4741, allocations: 71.89 kB / 1.381 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009345/0.4751, allocations: 436.4 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.4752, allocations: 42.56 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.4752, allocations: 4 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003069/0.4756, allocations: 119.4 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.4756, allocations: 0 / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0004667/0.476, allocations: 165.5 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.4761, allocations: 55.41 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.4762, allocations: 140.9 kB / 1.382 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.4763, allocations: 37.64 kB / 1.382 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.665e-05/0.4763, allocations: 104.4 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.4764, allocations: 23.62 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.4764, allocations: 8 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4765, allocations: 330.8 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.4767, allocations: 51.97 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.4769, allocations: 139.8 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.4771, allocations: 97.67 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4771, allocations: 4 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005079/0.4776, allocations: 266.8 kB / 1.383 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.4777, allocations: 41.69 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4777, allocations: 0 / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4777, allocations: 4.344 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.4778, allocations: 31.92 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4779, allocations: 7.984 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.4781, allocations: 51.91 kB / 1.383 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.4782, allocations: 19.97 kB / 1.383 GB, free: 12.01 MB / 0.8855 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.0001176/0.4783, allocations: 127.3 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.4783, allocations: 15.77 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.4784, allocations: 12.72 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4784, allocations: 0 / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4784, allocations: 7.984 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4784, allocations: 0 / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.479, allocations: 430.7 kB / 1.383 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.479, allocations: 0 / 1.383 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.4792, allocations: 19.92 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.4792, allocations: 8.031 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4792, allocations: 4 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4792, allocations: 0 / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4792, allocations: 0 / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.4797, allocations: 279.2 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.4798, allocations: 88.95 kB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.4798, allocations: 4 kB / 1.384 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.4799, allocations: 15.97 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.48, allocations: 11.98 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.48, allocations: 4 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.537e-05/0.4801, allocations: 115.1 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4801, allocations: 4 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003067/0.4804, allocations: 32 kB / 1.384 GB, free: 10.76 MB / 0.8855 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.0008634/0.4813, allocations: 0.8254 MB / 1.385 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004157/0.4817, allocations: 211.2 kB / 1.385 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4817, allocations: 0 / 1.385 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.4819, allocations: 44.25 kB / 1.385 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.4821, allocations: 24.69 kB / 1.385 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.4838, allocations: 2.232 MB / 1.387 GB, free: 7.289 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.4841, allocations: 0.7082 MB / 1.388 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.332e-05/0.4841, allocations: 8.547 kB / 1.388 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.4842, allocations: 43.42 kB / 1.388 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of SimCode: time 3.81e-07/0.4842, allocations: 0 / 1.388 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.4991, allocations: 2.866 MB / 1.391 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.4993, allocations: 203.8 kB / 1.391 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.155, allocations: 0.75 kB / 1.391 GB, free: 3.578 MB / 0.8855 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