Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.476/2.476, allocations: 390.3 MB / 402.8 MB, free: 6.719 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.001326/0.001326, allocations: 176.9 kB / 496.1 MB, free: 12.88 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.884/1.884, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0009324/0.0009325, allocations: 95.92 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.258e-05/4.262e-05, allocations: 2.578 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4489, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.734, allocations: 152.6 MB / 1.368 GB, free: 1.402 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.734, allocations: 82.56 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01172/1.746, allocations: 3.74 MB / 1.372 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.473e-06/1.746, allocations: 0 / 1.372 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.698e-05/1.746, allocations: 4 kB / 1.372 GB, free: 14.1 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.001179/1.747, allocations: 0.5871 MB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/1.747, allocations: 15.97 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.219e-05/1.747, allocations: 50.17 kB / 1.372 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/1.747, allocations: 23.77 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/1.748, allocations: 252.7 kB / 1.373 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.748, allocations: 11.69 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/1.748, allocations: 11.94 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/1.748, allocations: 181.6 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.748, allocations: 0 / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/1.748, allocations: 19.78 kB / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/1.748, allocations: 4 kB / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/1.748, allocations: 102.1 kB / 1.373 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/1.749, allocations: 0.5542 MB / 1.373 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/1.75, allocations: 151.4 kB / 1.374 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/1.75, allocations: 64.3 kB / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/1.75, allocations: 0 / 1.374 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/1.75, allocations: 132.4 kB / 1.374 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/1.75, allocations: 0 / 1.374 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.0003766/1.75, allocations: 158.4 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/1.751, allocations: 110.3 kB / 1.374 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/1.751, allocations: 191.2 kB / 1.374 GB, free: 11.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/1.751, allocations: 29.7 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/1.751, allocations: 129.5 kB / 1.374 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/1.751, allocations: 53.91 kB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/1.751, allocations: 0 / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.751, allocations: 331.7 kB / 1.375 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/1.751, allocations: 52.5 kB / 1.375 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/1.751, allocations: 82.66 kB / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/1.752, allocations: 105.6 kB / 1.375 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/1.752, allocations: 0 / 1.375 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003552/1.752, allocations: 238.9 kB / 1.375 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.752, allocations: 154.2 kB / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.752, allocations: 0 / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.752, allocations: 0 / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/1.752, allocations: 75.23 kB / 1.375 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.752, allocations: 4 kB / 1.375 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/1.753, allocations: 71.19 kB / 1.375 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/1.753, allocations: 4 kB / 1.375 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/1.753, allocations: 7.953 kB / 1.375 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003088/1.753, allocations: 209.8 kB / 1.376 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-06/1.753, allocations: 0 / 1.376 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-06/1.753, allocations: 7.938 kB / 1.376 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/1.753, allocations: 51.7 kB / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/1.753, allocations: 4 kB / 1.376 GB, free: 10.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002855/1.754, allocations: 58.38 kB / 1.376 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/1.754, allocations: 7.953 kB / 1.376 GB, free: 10.15 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.0001159/1.754, allocations: 121.8 kB / 1.376 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/1.754, allocations: 19.72 kB / 1.376 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/1.754, allocations: 24.95 kB / 1.376 GB, free: 9.992 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.754, allocations: 4 kB / 1.376 GB, free: 9.988 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.754, allocations: 0 / 1.376 GB, free: 9.988 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.754, allocations: 3.938 kB / 1.376 GB, free: 9.984 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/1.754, allocations: 284.5 kB / 1.376 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.754, allocations: 0 / 1.376 GB, free: 9.699 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/1.755, allocations: 67.92 kB / 1.376 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.755, allocations: 4 kB / 1.376 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/1.755, allocations: 3.5 kB / 1.376 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/1.755, allocations: 0.5469 kB / 1.376 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.755, allocations: 0 / 1.376 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/1.755, allocations: 196 kB / 1.376 GB, free: 9.457 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.771e-05/1.755, allocations: 102.8 kB / 1.377 GB, free: 9.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/1.755, allocations: 6.25 kB / 1.377 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/1.756, allocations: 63.81 kB / 1.377 GB, free: 9.277 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.756, allocations: 35 kB / 1.377 GB, free: 9.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/1.756, allocations: 7.984 kB / 1.377 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001423/1.756, allocations: 152.1 kB / 1.377 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.756, allocations: 0 / 1.377 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003091/1.756, allocations: 75.41 kB / 1.377 GB, free: 9.047 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.0006735/1.757, allocations: 0.7427 MB / 1.378 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005679/1.757, allocations: 433.6 kB / 1.378 GB, free: 7.918 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.757, allocations: 0 / 1.378 GB, free: 7.918 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/1.758, allocations: 75.08 kB / 1.378 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/1.758, allocations: 35.16 kB / 1.378 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/1.759, allocations: 280.3 kB / 1.378 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/1.759, allocations: 0.7331 MB / 1.379 GB, free: 6.805 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001642/1.759, allocations: 37.52 kB / 1.379 GB, free: 6.766 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/1.759, allocations: 53.98 kB / 1.379 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of SimCode: time 3.71e-07/1.759, allocations: 0 / 1.379 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/1.779, allocations: 5.189 MB / 1.384 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003189/1.78, allocations: 192.6 kB / 1.384 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/4.008, allocations: 0 / 1.384 GB, free: 1.559 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat does not exist to compare? outputFormat=mat