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.448/2.448, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001952/0.001952, allocations: 184.8 kB / 487.4 MB, free: 5.035 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.709/1.709, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001045, allocations: 103.7 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.397e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3079, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.444, allocations: 151.1 MB / 1.354 GB, free: 18.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.444, allocations: 87.92 kB / 1.354 GB, free: 18.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01202/1.456, allocations: 3.705 MB / 1.357 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/1.456, allocations: 0 / 1.357 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.551e-05/1.456, allocations: 3.875 kB / 1.357 GB, free: 33.53 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.00103/1.457, allocations: 0.5949 MB / 1.358 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.457, allocations: 8.219 kB / 1.358 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.016e-05/1.457, allocations: 23.28 kB / 1.358 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/1.457, allocations: 255.2 kB / 1.358 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/1.458, allocations: 3.875 kB / 1.358 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/1.458, allocations: 10.39 kB / 1.358 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002263/1.458, allocations: 108.5 kB / 1.358 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/1.458, allocations: 167.2 kB / 1.358 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.458, allocations: 0 / 1.358 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/1.458, allocations: 0 / 1.358 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.458, allocations: 3.969 kB / 1.359 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/1.459, allocations: 0.5213 MB / 1.359 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/1.459, allocations: 146.4 kB / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.511e-05/1.459, allocations: 62.73 kB / 1.359 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/1.459, allocations: 0 / 1.359 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/1.46, allocations: 129.9 kB / 1.359 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/1.46, allocations: 0.5625 kB / 1.359 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0002992/1.46, allocations: 150.3 kB / 1.359 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.46, allocations: 117 kB / 1.36 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/1.46, allocations: 164.6 kB / 1.36 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/1.46, allocations: 33.39 kB / 1.36 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/1.46, allocations: 127.8 kB / 1.36 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/1.46, allocations: 52.69 kB / 1.36 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/1.46, allocations: 0 / 1.36 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.46, allocations: 328.8 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/1.46, allocations: 51.19 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/1.461, allocations: 87.2 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/1.461, allocations: 48.22 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/1.461, allocations: 0 / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002553/1.461, allocations: 170.6 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.544e-05/1.461, allocations: 147.5 kB / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.461, allocations: 2.672 kB / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.461, allocations: 3.969 kB / 1.361 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/1.461, allocations: 74.06 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/1.461, allocations: 0 / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/1.462, allocations: 66.95 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/1.462, allocations: 7.078 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.462, allocations: 5.562 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002163/1.462, allocations: 135.1 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/1.462, allocations: 4 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/1.462, allocations: 3.984 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/1.462, allocations: 53.91 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/1.462, allocations: 3.844 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/1.463, allocations: 52.17 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/1.463, allocations: 6.906 kB / 1.361 GB, free: 31.41 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 0.0001097/1.463, allocations: 124.6 kB / 1.361 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002136/1.463, allocations: 144.8 kB / 1.361 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/1.463, allocations: 19.5 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/1.463, allocations: 19.72 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.463, allocations: 3.938 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.463, allocations: 0 / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.463, allocations: 0 / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/1.463, allocations: 252.5 kB / 1.362 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.463, allocations: 0 / 1.362 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/1.464, allocations: 79.77 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.464, allocations: 0 / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/1.464, allocations: 1.453 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.464, allocations: 0 / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.464, allocations: 3.844 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/1.464, allocations: 182.3 kB / 1.362 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/1.464, allocations: 98.09 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/1.464, allocations: 0 / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/1.464, allocations: 68.56 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.464, allocations: 27.67 kB / 1.362 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/1.464, allocations: 9.969 kB / 1.362 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001149/1.465, allocations: 145.8 kB / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.465, allocations: 0 / 1.362 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003419/1.465, allocations: 69.78 kB / 1.362 GB, free: 30.76 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.0006261/1.466, allocations: 0.7276 MB / 1.363 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004374/1.466, allocations: 423.8 kB / 1.363 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.466, allocations: 0 / 1.363 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/1.466, allocations: 72.31 kB / 1.364 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/1.466, allocations: 30.22 kB / 1.364 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/1.467, allocations: 270 kB / 1.364 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/1.467, allocations: 0.7321 MB / 1.365 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001623/1.468, allocations: 28.95 kB / 1.365 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.468, allocations: 59.73 kB / 1.365 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.468, allocations: 3.656 kB / 1.365 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/1.493, allocations: 4.51 MB / 1.369 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/1.493, allocations: 177 kB / 1.369 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/3.516, allocations: 1.719 kB / 1.369 GB, free: 28.56 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