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.543/2.543, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.00123/0.001231, allocations: 175 kB / 0.4901 GB, free: 2.254 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.772/1.772, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.001097/0.001097, allocations: 105.8 kB / 0.9396 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004286, allocations: 12.94 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4047, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2514/0.6562, allocations: 152.7 MB / 1.378 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003919/0.6566, allocations: 95.92 kB / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01323/0.6699, allocations: 3.739 MB / 1.382 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.477e-06/0.67, allocations: 0 / 1.382 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.372e-05/0.67, allocations: 7.938 kB / 1.382 GB, free: 8.672 MB / 0.8855 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.002018/0.6721, allocations: 0.636 MB / 1.383 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 8.061e-05/0.6722, allocations: 8.031 kB / 1.383 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.6723, allocations: 42.55 kB / 1.383 GB, free: 7.918 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.6725, allocations: 27.67 kB / 1.383 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006616/0.6732, allocations: 254.7 kB / 1.383 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.6732, allocations: 16 kB / 1.383 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.821e-05/0.6733, allocations: 12 kB / 1.383 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/0.6743, allocations: 280.5 kB / 1.383 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.6743, allocations: 0 / 1.383 GB, free: 7.285 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.6744, allocations: 15.98 kB / 1.383 GB, free: 7.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.6744, allocations: 0 / 1.383 GB, free: 7.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.6755, allocations: 324.7 kB / 1.384 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.6768, allocations: 0.5625 MB / 1.384 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.6782, allocations: 386.4 kB / 1.385 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.6782, allocations: 4 kB / 1.385 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008263/0.6791, allocations: 234 kB / 1.385 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 4.578e-06/0.6791, allocations: 3.984 kB / 1.385 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.001945/0.681, allocations: 0.5205 MB / 1.385 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.6812, allocations: 110.7 kB / 1.385 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.6815, allocations: 186.9 kB / 1.386 GB, free: 4.859 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.6815, allocations: 33.69 kB / 1.386 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.6816, allocations: 128.3 kB / 1.386 GB, free: 4.688 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.6817, allocations: 43.36 kB / 1.386 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.6818, allocations: 4 kB / 1.386 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.682, allocations: 338.8 kB / 1.386 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005386/0.6825, allocations: 155.9 kB / 1.386 GB, free: 4.148 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.6831, allocations: 191.3 kB / 1.386 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/0.6837, allocations: 208.5 kB / 1.387 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6837, allocations: 0 / 1.387 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001248/0.685, allocations: 453.2 kB / 1.387 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/0.6851, allocations: 163 kB / 1.387 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.6851, allocations: 0 / 1.387 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.6852, allocations: 0 / 1.387 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.6855, allocations: 71.88 kB / 1.387 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.6855, allocations: 4 kB / 1.387 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.6859, allocations: 75.77 kB / 1.387 GB, free: 2.953 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.686, allocations: 11.94 kB / 1.387 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.686, allocations: 4 kB / 1.387 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009761/0.687, allocations: 363.1 kB / 1.388 GB, free: 2.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.687, allocations: 3.938 kB / 1.388 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/0.687, allocations: 0 / 1.388 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.6873, allocations: 55.95 kB / 1.388 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-06/0.6873, allocations: 0 / 1.388 GB, free: 2.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.6877, allocations: 59.84 kB / 1.388 GB, free: 2.453 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.6877, allocations: 8 kB / 1.388 GB, free: 2.445 MB / 0.8855 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 () * Number of clocked 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.0002287/0.6879, allocations: 211.2 kB / 1.388 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.688, allocations: 27.73 kB / 1.388 GB, free: 2.203 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.764e-05/0.6881, allocations: 21.53 kB / 1.388 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.6881, allocations: 0 / 1.388 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.6881, allocations: 0 / 1.388 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6881, allocations: 0 / 1.388 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.6884, allocations: 285.4 kB / 1.388 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.6885, allocations: 8 kB / 1.388 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.6888, allocations: 67.94 kB / 1.388 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.6888, allocations: 0 / 1.388 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.6888, allocations: 8 kB / 1.388 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.6888, allocations: 3.984 kB / 1.388 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6888, allocations: 0 / 1.388 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.69, allocations: 410.7 kB / 1.389 GB, free: 1.352 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.6901, allocations: 92.92 kB / 1.389 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.6901, allocations: 7.984 kB / 1.389 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.6905, allocations: 63.94 kB / 1.389 GB, free: 1.172 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.6906, allocations: 23.95 kB / 1.389 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.6907, allocations: 8 kB / 1.389 GB, free: 1.141 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001841/0.6908, allocations: 160.5 kB / 1.389 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6909, allocations: 0 / 1.389 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004191/0.6913, allocations: 75.84 kB / 1.389 GB, free: 0.9102 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001631/0.6929, allocations: 0.9569 MB / 1.39 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.6947, allocations: 0.7051 MB / 1.391 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.6947, allocations: 0 / 1.391 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.6952, allocations: 181.9 kB / 1.391 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.6956, allocations: 43.86 kB / 1.391 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.6993, allocations: 1.508 MB / 1.393 GB, free: 13.38 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.6997, allocations: 0.7366 MB / 1.393 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.6999, allocations: 25.55 kB / 1.393 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.7001, allocations: 59.41 kB / 1.393 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of SimCode: time 3.41e-07/0.7001, allocations: 0 / 1.393 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.7238, allocations: 4.966 MB / 1.398 GB, free: 7.801 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/0.7241, allocations: 216.7 kB / 1.398 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/3.118, allocations: 0 / 1.398 GB, free: 7.562 MB / 0.9011 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