Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",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.602/2.602, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001551/0.00155, allocations: 191.9 kB / 492.3 MB, free: 0.5938 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.808/1.808, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.001321/0.001321, allocations: 102.4 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.256e-05/4.259e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4163, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.336/1.753, allocations: 151.8 MB / 1.361 GB, free: 18.93 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/1.753, allocations: 84.5 kB / 1.361 GB, free: 18.93 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01205/1.765, allocations: 3.739 MB / 1.364 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.524e-06/1.765, allocations: 0 / 1.364 GB, free: 34.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.85e-05/1.765, allocations: 3.969 kB / 1.364 GB, free: 34.4 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001087/1.766, allocations: 0.5854 MB / 1.365 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/1.767, allocations: 11.72 kB / 1.365 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.594e-05/1.767, allocations: 46.22 kB / 1.365 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/1.767, allocations: 23.22 kB / 1.365 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/1.767, allocations: 256.7 kB / 1.365 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/1.767, allocations: 14.56 kB / 1.365 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/1.767, allocations: 19.06 kB / 1.365 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/1.767, allocations: 183.4 kB / 1.366 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.767, allocations: 0 / 1.366 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/1.768, allocations: 7.188 kB / 1.366 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/1.768, allocations: 6.578 kB / 1.366 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002204/1.768, allocations: 98.36 kB / 1.366 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008871/1.769, allocations: 0.5633 MB / 1.366 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/1.769, allocations: 148.8 kB / 1.366 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/1.769, allocations: 63.8 kB / 1.366 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/1.769, allocations: 0 / 1.366 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002734/1.77, allocations: 143.7 kB / 1.367 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/1.77, allocations: 0 / 1.367 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003748/1.77, allocations: 162.5 kB / 1.367 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/1.77, allocations: 106.6 kB / 1.367 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/1.77, allocations: 185.3 kB / 1.367 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/1.77, allocations: 33.48 kB / 1.367 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/1.77, allocations: 125.2 kB / 1.367 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/1.77, allocations: 48.56 kB / 1.367 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/1.77, allocations: 3.688 kB / 1.367 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.77, allocations: 335.5 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/1.771, allocations: 54.77 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/1.771, allocations: 81.98 kB / 1.368 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/1.771, allocations: 103.1 kB / 1.368 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.771, allocations: 0 / 1.368 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003565/1.771, allocations: 242.9 kB / 1.368 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.59e-05/1.771, allocations: 150.9 kB / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.771, allocations: 0 / 1.368 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.771, allocations: 3.938 kB / 1.368 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/1.772, allocations: 70.73 kB / 1.368 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.772, allocations: 7.875 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/1.772, allocations: 69.53 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/1.772, allocations: 6.531 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/1.772, allocations: 5.281 kB / 1.368 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002996/1.772, allocations: 209.4 kB / 1.369 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-06/1.772, allocations: 0 / 1.369 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-06/1.772, allocations: 0 / 1.369 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/1.773, allocations: 56.62 kB / 1.369 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/1.773, allocations: 0 / 1.369 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/1.773, allocations: 62.91 kB / 1.369 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/1.773, allocations: 11.06 kB / 1.369 GB, free: 31.99 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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 9.97e-05/1.773, allocations: 120.6 kB / 1.369 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/1.773, allocations: 15.5 kB / 1.369 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.184e-05/1.773, allocations: 30.78 kB / 1.369 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.773, allocations: 0 / 1.369 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.773, allocations: 0 / 1.369 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.773, allocations: 0 / 1.369 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/1.774, allocations: 282.4 kB / 1.369 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.774, allocations: 0 / 1.369 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/1.774, allocations: 71.28 kB / 1.369 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/1.774, allocations: 3.844 kB / 1.369 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/1.774, allocations: 3.938 kB / 1.369 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/1.774, allocations: 4 kB / 1.369 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.774, allocations: 3.938 kB / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/1.774, allocations: 202.1 kB / 1.369 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/1.774, allocations: 91.7 kB / 1.369 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/1.774, allocations: 7.344 kB / 1.369 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/1.775, allocations: 60.02 kB / 1.369 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.775, allocations: 32.94 kB / 1.37 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/1.775, allocations: 3.844 kB / 1.37 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001337/1.775, allocations: 153.8 kB / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.775, allocations: 0 / 1.37 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003223/1.775, allocations: 83.94 kB / 1.37 GB, free: 31.37 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: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005667/1.776, allocations: 0.7402 MB / 1.37 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004968/1.776, allocations: 434.4 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.776, allocations: 0 / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/1.776, allocations: 77.06 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/1.777, allocations: 29.89 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/1.777, allocations: 279.3 kB / 1.371 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/1.778, allocations: 0.7368 MB / 1.372 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001639/1.778, allocations: 34.36 kB / 1.372 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/1.778, allocations: 57.61 kB / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.778, allocations: 0 / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/1.798, allocations: 5.176 MB / 1.377 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/1.798, allocations: 182 kB / 1.377 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/4.212, allocations: 3.938 kB / 1.377 GB, free: 29.04 MB / 0.8386 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat does not exist to compare? outputFormat=mat