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.269/2.269, allocations: 390.5 MB / 398 MB, free: 10.97 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.001112/0.001112, allocations: 176.9 kB / 491.2 MB, free: 1.562 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.644/1.644, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.001018/0.001018, allocations: 87.91 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.783e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3373, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.352, allocations: 150 MB / 1.359 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/1.352, allocations: 69.55 kB / 1.359 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009764/1.362, allocations: 3.267 MB / 1.362 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.162e-06/1.362, allocations: 0 / 1.362 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.249e-05/1.362, allocations: 3.844 kB / 1.362 GB, free: 32.81 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.0005871/1.363, allocations: 431 kB / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/1.363, allocations: 11.5 kB / 1.363 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/1.363, allocations: 15.5 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/1.363, allocations: 177.5 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/1.363, allocations: 0 / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/1.363, allocations: 19.45 kB / 1.363 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.738e-05/1.363, allocations: 33.97 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/1.363, allocations: 72.31 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.363, allocations: 1.359 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/1.363, allocations: 3.562 kB / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/1.363, allocations: 0 / 1.363 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008828/1.364, allocations: 405.8 kB / 1.363 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.385e-05/1.364, allocations: 24.45 kB / 1.363 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/1.364, allocations: 19.34 kB / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/1.364, allocations: 0 / 1.363 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/1.365, allocations: 91.2 kB / 1.363 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/1.365, allocations: 0 / 1.363 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002516/1.365, allocations: 81.88 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/1.365, allocations: 58.94 kB / 1.364 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/1.365, allocations: 132.4 kB / 1.364 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/1.365, allocations: 27.53 kB / 1.364 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/1.365, allocations: 108 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/1.365, allocations: 29.75 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/1.365, allocations: 4 kB / 1.364 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.365, allocations: 322.5 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.071e-05/1.365, allocations: 37.84 kB / 1.364 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/1.365, allocations: 111.2 kB / 1.364 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/1.366, allocations: 74.3 kB / 1.364 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.366, allocations: 4 kB / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004587/1.366, allocations: 194.2 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/1.366, allocations: 35 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.366, allocations: 7.781 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/1.366, allocations: 5.781 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/1.366, allocations: 35.16 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.366, allocations: 7.859 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/1.367, allocations: 53.39 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/1.367, allocations: 13.53 kB / 1.365 GB, free: 30.93 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.0001002/1.367, allocations: 111.5 kB / 1.365 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001199/1.367, allocations: 85.48 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/1.367, allocations: 17.06 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/1.367, allocations: 8.5 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/1.367, allocations: 2.438 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/1.367, allocations: 3.844 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/1.367, allocations: 0 / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/1.367, allocations: 352.8 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.367, allocations: 4 kB / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/1.368, allocations: 19.34 kB / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/1.368, allocations: 0 / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.368, allocations: 3.812 kB / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.368, allocations: 192 / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.368, allocations: 0 / 1.365 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/1.368, allocations: 223.2 kB / 1.365 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/1.368, allocations: 88.83 kB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/1.368, allocations: 1.688 kB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/1.368, allocations: 10.81 kB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/1.368, allocations: 10.03 kB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/1.368, allocations: 5.359 kB / 1.366 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.682e-05/1.368, allocations: 96.17 kB / 1.366 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.368, allocations: 4 kB / 1.366 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003195/1.369, allocations: 37.28 kB / 1.366 GB, free: 30.16 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.0005215/1.369, allocations: 0.7737 MB / 1.366 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002257/1.369, allocations: 159.4 kB / 1.367 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.369, allocations: 4.25 kB / 1.367 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.761e-05/1.369, allocations: 30.59 kB / 1.367 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/1.37, allocations: 8.25 kB / 1.367 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/1.37, allocations: 228.5 kB / 1.367 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/1.37, allocations: 0.7158 MB / 1.368 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.846e-05/1.371, allocations: 9.984 kB / 1.368 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/1.371, allocations: 36.42 kB / 1.368 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.371, allocations: 0 / 1.368 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/1.393, allocations: 2.407 MB / 1.37 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/1.393, allocations: 164.7 kB / 1.37 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.908, allocations: 0 / 1.37 GB, free: 28.17 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