Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002569/0.002569, allocations: 193.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65.59 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3853, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003577/0.389, allocations: 2.066 MB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.39, allocations: 0.639 MB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3901, allocations: 11.94 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.413e-05/0.3902, allocations: 11.86 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.3904, allocations: 35.7 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.3908, allocations: 146.9 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000335/0.3911, allocations: 299.2 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.3913, allocations: 60.27 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.3914, allocations: 107.7 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.3916, allocations: 123.5 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.3916, allocations: 27.94 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.775e-05/0.3917, allocations: 24 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.3917, allocations: 47.89 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.3919, allocations: 115.4 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002633/0.3921, allocations: 263.4 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3921, allocations: 0 / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3921, allocations: 0 / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3922, allocations: 4 kB / 1.072 GB, free: 6.801 MB / 0.8262 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.00131/0.3935, allocations: 0.615 MB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3935, allocations: 12.03 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.3936, allocations: 32.64 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.394, allocations: 265.7 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.394, allocations: 12.38 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.3941, allocations: 12.38 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.3947, allocations: 240.9 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3948, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.3948, allocations: 7.984 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.3948, allocations: 4 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008421/0.3956, allocations: 224.5 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.3964, allocations: 0.5274 MB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009918/0.3974, allocations: 250.5 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.3979, allocations: 128.7 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.3979, allocations: 4 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006188/0.3985, allocations: 187.2 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3986, allocations: 7.938 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.001385/0.3999, allocations: 387.5 kB / 1.074 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.4, allocations: 55.34 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.4002, allocations: 218.8 kB / 1.075 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.4002, allocations: 29.64 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.4003, allocations: 132.3 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.4004, allocations: 51.34 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.862e-05/0.4005, allocations: 33.7 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.4006, allocations: 330.8 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004478/0.401, allocations: 116.7 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.4015, allocations: 119.9 kB / 1.075 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/0.4023, allocations: 269.8 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4023, allocations: 0 / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009867/0.4033, allocations: 374.8 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/0.4034, allocations: 63.39 kB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4034, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.4034, allocations: 0 / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.4037, allocations: 47.94 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4037, allocations: 4 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.404, allocations: 47.8 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.4041, allocations: 4 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004839/0.4046, allocations: 196 kB / 1.076 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003739/0.4049, allocations: 107.9 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007552/0.4057, allocations: 261.6 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.4057, allocations: 0 / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008751/0.4066, allocations: 336.7 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.4067, allocations: 68.58 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.4067, allocations: 4 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-06/0.4067, allocations: 0 / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.4069, allocations: 39.95 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.4069, allocations: 0 / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.4072, allocations: 47.78 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.4072, allocations: 8 kB / 1.077 GB, free: 0.6797 MB / 0.8262 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 (HMea.count,$PRE.HMea.count,HMea.T_start,$PRE.HMea.T_start,TMea.count,$PRE.TMea.count,TMea.T_start,$PRE.TMea.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.4073, allocations: 189.6 kB / 1.077 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.4074, allocations: 19.75 kB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/0.4074, allocations: 29.52 kB / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4075, allocations: 4 kB / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4075, allocations: 0 / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4075, allocations: 3.938 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.4077, allocations: 273.4 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4078, allocations: 3.938 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.408, allocations: 47.94 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.408, allocations: 3.938 kB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.4081, allocations: 4 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4081, allocations: 0 / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4081, allocations: 3.938 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009451/0.409, allocations: 308.7 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.4091, allocations: 100.8 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.4091, allocations: 4 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.4094, allocations: 31.95 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4095, allocations: 31.95 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4095, allocations: 4 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001334/0.4097, allocations: 151.2 kB / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4097, allocations: 0 / 1.078 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003367/0.41, allocations: 79.75 kB / 1.078 GB, free: 15.32 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001415/0.4102, allocations: 111.2 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.4117, allocations: 0.5949 MB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4117, allocations: 0 / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000487/0.4122, allocations: 133.2 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.4125, allocations: 42.75 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008927/0.4134, allocations: 404 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.4137, allocations: 0.7284 MB / 1.08 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.4139, allocations: 25.53 kB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.414, allocations: 27.42 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of SimCode: time 2.033e-06/0.414, allocations: 4 kB / 1.08 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.006364/0.4203, allocations: 3.043 MB / 1.083 GB, free: 10.17 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1)