Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",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.46/2.46, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001124/0.001124, allocations: 184.8 kB / 496.1 MB, free: 12.89 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.736/1.736, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.001313/0.001313, allocations: 103.4 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.52e-05/4.531e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3611, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.512, allocations: 151.2 MB / 1.367 GB, free: 2.891 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.512, allocations: 90.06 kB / 1.367 GB, free: 2.836 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007369/1.52, allocations: 2.405 MB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.593e-06/1.52, allocations: 3.938 kB / 1.369 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.08e-05/1.52, allocations: 4 kB / 1.369 GB, free: 0.7344 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006602/1.52, allocations: 417.3 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/1.52, allocations: 8.031 kB / 1.369 GB, free: 284 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/1.521, allocations: 37.67 kB / 1.369 GB, free: 240 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/1.521, allocations: 11.91 kB / 1.369 GB, free: 228 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/1.521, allocations: 178.9 kB / 1.37 GB, free: 8 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/1.521, allocations: 12.48 kB / 1.37 GB, free: 0 / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/1.521, allocations: 12.05 kB / 1.37 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/1.521, allocations: 72.36 kB / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/1.521, allocations: 0 / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/1.521, allocations: 7.5 kB / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.521, allocations: 0 / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/1.521, allocations: 30.19 kB / 1.37 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006619/1.522, allocations: 385.7 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.522, allocations: 40 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.06e-05/1.522, allocations: 18.8 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/1.522, allocations: 11.89 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/1.522, allocations: 77.3 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/1.522, allocations: 0 / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002194/1.522, allocations: 70.53 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/1.523, allocations: 55.41 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.523, allocations: 115.9 kB / 1.37 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/1.523, allocations: 32.52 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/1.523, allocations: 103.1 kB / 1.371 GB, free: 15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/1.523, allocations: 11.84 kB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/1.523, allocations: 7.25 kB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.523, allocations: 326.6 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.123e-05/1.523, allocations: 34.38 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/1.523, allocations: 65.48 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/1.523, allocations: 58.69 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.523, allocations: 0 / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003045/1.524, allocations: 170.5 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/1.524, allocations: 41.45 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.524, allocations: 4 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.524, allocations: 0 / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/1.524, allocations: 11.98 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/1.524, allocations: 3.938 kB / 1.371 GB, free: 14.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/1.524, allocations: 59.95 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/1.524, allocations: 7.25 kB / 1.371 GB, free: 14.24 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 8.702e-05/1.524, allocations: 108.4 kB / 1.371 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/1.524, allocations: 7.906 kB / 1.371 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/1.524, allocations: 20.12 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.524, allocations: 4 kB / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.524, allocations: 0 / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.524, allocations: 0 / 1.371 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/1.524, allocations: 191.2 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.524, allocations: 0 / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/1.525, allocations: 8 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/1.525, allocations: 96 / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/1.525, allocations: 7.922 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.525, allocations: 3.953 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.525, allocations: 4 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/1.525, allocations: 102.5 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/1.525, allocations: 81.02 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/1.525, allocations: 11.55 kB / 1.372 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/1.525, allocations: 12 kB / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/1.525, allocations: 23.86 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/1.525, allocations: 7.688 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.64e-05/1.525, allocations: 94.77 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.525, allocations: 0 / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002289/1.525, allocations: 28.12 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0005184/1.526, allocations: 0.6404 MB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002439/1.526, allocations: 143.4 kB / 1.373 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.526, allocations: 0 / 1.373 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.716e-05/1.526, allocations: 28.94 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/1.526, allocations: 18.69 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/1.527, allocations: 144.1 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/1.527, allocations: 0.7006 MB / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.609e-05/1.527, allocations: 4.188 kB / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/1.527, allocations: 26.05 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/1.527, allocations: 0 / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/1.542, allocations: 2.388 MB / 1.376 GB, free: 9.566 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.542, allocations: 168.2 kB / 1.376 GB, free: 9.348 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/3.271, allocations: 3.312 kB / 1.376 GB, free: 9.348 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat does not exist to compare? outputFormat=mat