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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_latest_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.0009815/0.0009815, allocations: 100 kB / 15.05 MB, free: 1.105 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.001021/0.001021, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.608/2.608, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 8 kB / 0.8708 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6902/0.6905, allocations: 153.6 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002077/0.6927, allocations: 1.626 MB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.6938, allocations: 0.6083 MB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.6939, allocations: 0 / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.694, allocations: 11.86 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.6942, allocations: 51.83 kB / 1.023 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.6946, allocations: 111.7 kB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.6949, allocations: 159.7 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.695, allocations: 60.39 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.6952, allocations: 83.72 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.6953, allocations: 103.6 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.6953, allocations: 8 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.923e-05/0.6954, allocations: 8 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.6954, allocations: 39.83 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.6955, allocations: 53.64 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.6957, allocations: 189.4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6957, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6957, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6957, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 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.001207/0.6969, allocations: 0.6267 MB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.697, allocations: 11.98 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.697, allocations: 23.72 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004112/0.6974, allocations: 270.6 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.6975, allocations: 11.94 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.6975, allocations: 19.98 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.6982, allocations: 256 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6982, allocations: 4 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.6982, allocations: 4 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.6983, allocations: 8 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.6992, allocations: 275.7 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007407/0.6999, allocations: 0.5118 MB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.701, allocations: 310.5 kB / 1.026 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.701, allocations: 12 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006167/0.7017, allocations: 213.9 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.7017, allocations: 3.938 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.001451/0.7031, allocations: 449.1 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.7032, allocations: 67.34 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.7034, allocations: 207 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.7034, allocations: 33.7 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.7035, allocations: 132.2 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.7035, allocations: 43.44 kB / 1.027 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.7035, allocations: 4 kB / 1.027 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7037, allocations: 330.8 kB / 1.028 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.7041, allocations: 131.9 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.7046, allocations: 143.9 kB / 1.028 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.7051, allocations: 179.3 kB / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7051, allocations: 0 / 1.028 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001027/0.7061, allocations: 410.2 kB / 1.028 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/0.7062, allocations: 157.1 kB / 1.028 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.7062, allocations: 0 / 1.028 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.7062, allocations: 4 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.7065, allocations: 63.88 kB / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.7065, allocations: 0 / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.7068, allocations: 55.8 kB / 1.029 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.7069, allocations: 11.98 kB / 1.029 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.7069, allocations: 6.031 kB / 1.029 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008925/0.7078, allocations: 364.9 kB / 1.029 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.7078, allocations: 8 kB / 1.029 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-06/0.7078, allocations: 0 / 1.029 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.708, allocations: 51.89 kB / 1.029 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.708, allocations: 4 kB / 1.029 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.7083, allocations: 59.8 kB / 1.029 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.7083, allocations: 11.92 kB / 1.029 GB, free: 8.258 MB / 0.7794 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.0001328/0.7085, allocations: 201.1 kB / 1.029 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.7085, allocations: 19.77 kB / 1.029 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.7086, allocations: 33.52 kB / 1.029 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.7086, allocations: 0 / 1.029 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7086, allocations: 0 / 1.029 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7086, allocations: 0 / 1.029 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.7088, allocations: 273.3 kB / 1.03 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.7088, allocations: 3.938 kB / 1.03 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.7091, allocations: 63.92 kB / 1.03 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.7091, allocations: 0 / 1.03 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.7092, allocations: 15.95 kB / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7092, allocations: 0 / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7092, allocations: 0 / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009778/0.7101, allocations: 352.6 kB / 1.03 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.7102, allocations: 100.9 kB / 1.03 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.7103, allocations: 3.984 kB / 1.03 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.7106, allocations: 51.91 kB / 1.03 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/0.7107, allocations: 31.89 kB / 1.03 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.7107, allocations: 7.984 kB / 1.03 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000125/0.7108, allocations: 152.6 kB / 1.03 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7108, allocations: 0 / 1.03 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003237/0.7111, allocations: 75.84 kB / 1.03 GB, free: 6.809 MB / 0.7794 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.0001136/0.7113, allocations: 99.25 kB / 1.031 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.7128, allocations: 0.6639 MB / 1.031 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7128, allocations: 0 / 1.031 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.7133, allocations: 151.8 kB / 1.031 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.7135, allocations: 32.72 kB / 1.031 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.7143, allocations: 408.5 kB / 1.032 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.7146, allocations: 0.7367 MB / 1.032 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.7147, allocations: 25.48 kB / 1.032 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.7148, allocations: 23.44 kB / 1.033 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7148, allocations: 0 / 1.033 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.005736/0.7206, allocations: 2.764 MB / 1.035 GB, free: 1.863 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (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 & ./Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","../files/Buildings_latest_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches