Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001807/0.001807, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.00201/0.00201, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 69.33 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3238, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.00364/0.3275, allocations: 2.012 MB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3287, allocations: 0.6469 MB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.3289, allocations: 4 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.457e-05/0.3289, allocations: 19.73 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.3292, allocations: 55.45 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.3296, allocations: 160.8 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.33, allocations: 287.3 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3302, allocations: 56.3 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.3303, allocations: 115.6 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3305, allocations: 123.5 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.726e-05/0.3306, allocations: 28 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.584e-05/0.3306, allocations: 24 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.3307, allocations: 55.83 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.3308, allocations: 111.4 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.3311, allocations: 255.5 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3311, allocations: 4 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3311, allocations: 0 / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.3311, allocations: 0 / 1.022 GB, free: 6.664 MB / 0.795 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.001289/0.3324, allocations: 0.6208 MB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3325, allocations: 8.625 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.592e-05/0.3325, allocations: 28.64 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.3329, allocations: 273.4 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.333, allocations: 12.38 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.333, allocations: 12.38 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.3337, allocations: 241.3 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3337, allocations: 8 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.3337, allocations: 7.984 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3337, allocations: 4 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000866/0.3346, allocations: 223.8 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.3354, allocations: 0.5157 MB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3364, allocations: 266.4 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000446/0.3369, allocations: 116.8 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3369, allocations: 0 / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006264/0.3375, allocations: 191.2 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.3376, allocations: 0 / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.001445/0.339, allocations: 392.1 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3391, allocations: 55.41 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.3393, allocations: 214.9 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.3393, allocations: 29.7 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.3394, allocations: 136.2 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.3394, allocations: 43.45 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.8e-05/0.3395, allocations: 41.61 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3397, allocations: 330.8 kB / 1.025 GB, free: 2.707 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.3401, allocations: 116.7 kB / 1.026 GB, free: 2.59 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.3406, allocations: 123.8 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008388/0.3414, allocations: 266 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3414, allocations: 0 / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001019/0.3424, allocations: 368.5 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.3425, allocations: 63.39 kB / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3425, allocations: 0 / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.3425, allocations: 4 kB / 1.026 GB, free: 1.738 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.3428, allocations: 47.94 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3428, allocations: 0 / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.3431, allocations: 47.8 kB / 1.026 GB, free: 1.645 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.3432, allocations: 4 kB / 1.026 GB, free: 1.641 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004469/0.3436, allocations: 202.4 kB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003734/0.344, allocations: 107.9 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007453/0.3448, allocations: 253.9 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.3448, allocations: 0 / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0008903/0.3457, allocations: 342.7 kB / 1.027 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.3457, allocations: 67.34 kB / 1.027 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.3457, allocations: 0 / 1.027 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-06/0.3457, allocations: 4 kB / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.346, allocations: 47.89 kB / 1.027 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-06/0.346, allocations: 0 / 1.027 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.3462, allocations: 47.78 kB / 1.027 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.3463, allocations: 4 kB / 1.027 GB, free: 0.543 MB / 0.795 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.0001134/0.3464, allocations: 196.3 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3464, allocations: 19.75 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.3465, allocations: 21.52 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3465, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3465, allocations: 4 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3465, allocations: 0 / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.3468, allocations: 269.4 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3468, allocations: 3.938 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.347, allocations: 55.88 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3471, allocations: 0 / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.3471, allocations: 0 / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3471, allocations: 7.938 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3471, allocations: 0 / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009223/0.348, allocations: 304.6 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.3481, allocations: 100.8 kB / 1.028 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.3481, allocations: 8 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.3484, allocations: 35.95 kB / 1.028 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.3485, allocations: 27.95 kB / 1.028 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.3485, allocations: 4 kB / 1.028 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000128/0.3487, allocations: 152.6 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3487, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003293/0.349, allocations: 75.84 kB / 1.029 GB, free: 15.2 MB / 0.8106 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.0001247/0.3492, allocations: 111.1 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.3507, allocations: 0.6049 MB / 1.029 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3507, allocations: 0 / 1.029 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.3512, allocations: 127.8 kB / 1.029 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3515, allocations: 54.5 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008927/0.3524, allocations: 374.3 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.3527, allocations: 0.7285 MB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.3528, allocations: 27.42 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3528, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of Templates: time 0.004955/0.3578, allocations: 2.762 MB / 1.033 GB, free: 10.33 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches