Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002416/0.002416, allocations: 216 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 65.16 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.003741/0.3183, allocations: 1.95 MB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.3197, allocations: 0.6585 MB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3198, allocations: 7.938 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.3199, allocations: 19.73 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.3201, allocations: 47.58 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.3205, allocations: 155.7 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.3209, allocations: 291.2 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.321, allocations: 56.5 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.3212, allocations: 111.6 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.3213, allocations: 123.5 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.3214, allocations: 24 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.3214, allocations: 24 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.3215, allocations: 55.83 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3216, allocations: 91.56 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.3219, allocations: 263 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3219, allocations: 4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3219, allocations: 3.938 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.322, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 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.00133/0.3233, allocations: 0.5513 MB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3233, allocations: 8.031 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.3234, allocations: 32.8 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.3239, allocations: 214.4 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3239, allocations: 12.38 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.3239, allocations: 12.38 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/0.3247, allocations: 299.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3247, allocations: 3.984 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.3247, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.3247, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009025/0.3256, allocations: 227.8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007527/0.3264, allocations: 404 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3274, allocations: 258.5 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004529/0.3279, allocations: 116.7 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.3279, allocations: 4 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/0.3285, allocations: 187.2 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/0.3285, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001431/0.3299, allocations: 395.2 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.33, allocations: 55.41 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3302, allocations: 198.6 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.3302, allocations: 33.7 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.3303, allocations: 128.4 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.157e-05/0.3303, allocations: 51.62 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.3304, allocations: 41.55 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3306, allocations: 326.8 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/0.3311, allocations: 180.1 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.3315, allocations: 171.3 kB / 1.335 GB, free: 9.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.3324, allocations: 273.8 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3324, allocations: 0 / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00107/0.3335, allocations: 425.9 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.3335, allocations: 67.33 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3335, allocations: 0 / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3336, allocations: 0 / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.3339, allocations: 51.94 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3339, allocations: 7.984 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.3342, allocations: 43.84 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.3342, allocations: 7.984 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004906/0.3347, allocations: 259.4 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004036/0.3351, allocations: 164.8 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007277/0.3358, allocations: 253.8 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.3358, allocations: 0 / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0009439/0.3368, allocations: 405.7 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.3368, allocations: 55.41 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-06/0.3368, allocations: 0 / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.3368, allocations: 7.938 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.337, allocations: 47.88 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.337, allocations: 0 / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.3373, allocations: 47.84 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.3373, allocations: 12 kB / 1.337 GB, free: 6.82 MB / 1.029 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.000146/0.3375, allocations: 188.1 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.3375, allocations: 23.8 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.3376, allocations: 25.45 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3376, allocations: 0 / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3376, allocations: 4 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.3376, allocations: 19.89 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.3376, allocations: 0 / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.3379, allocations: 43.94 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.889e-05/0.338, allocations: 23.97 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001216/0.3392, allocations: 380.5 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001031/0.3403, allocations: 464.8 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004566/0.3407, allocations: 119.9 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001292/0.3408, allocations: 148.2 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of Backend: time 3.71e-07/0.3408, allocations: 0 / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.3423, allocations: 0.673 MB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008674/0.3432, allocations: 0.7634 MB / 1.339 GB, free: 3.816 MB / 1.029 GB Notification: Performance of Templates: time 0.008933/0.3521, allocations: 4.94 MB / 1.344 GB, free: 14.94 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_Examples_Controls_Validation_ElectrochromicWindow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.732961968999007]