Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.001834/0.001834, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002246/0.002246, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.198/3.198, allocations: 0.4899 GB / 0.7915 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 176] 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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [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.002481/0.002481, allocations: 66.59 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3882, allocations: 176.1 MB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01248/0.4006, allocations: 8.61 MB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2087/0.6093, allocations: 162.8 MB / 1.489 GB, free: 6.688 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.6114, allocations: 55.56 kB / 1.489 GB, free: 6.633 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006375/0.6178, allocations: 2.023 MB / 1.491 GB, free: 4.602 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006495/0.6243, allocations: 1.293 MB / 1.492 GB, free: 3.309 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.6289, allocations: 1.457 MB / 1.493 GB, free: 1.855 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007625/0.6365, allocations: 5.415 MB / 1.499 GB, free: 12.43 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.6386, allocations: 0.8605 MB / 1.5 GB, free: 11.52 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003729/0.6423, allocations: 1.781 MB / 1.501 GB, free: 9.73 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.6454, allocations: 1.67 MB / 1.503 GB, free: 8.055 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006724/0.6461, allocations: 292 kB / 1.503 GB, free: 7.77 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00566/0.6518, allocations: 2.692 MB / 1.506 GB, free: 5.074 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.004679/0.6564, allocations: 4.37 MB / 1.51 GB, free: 0.6992 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.6593, allocations: 1.729 MB / 1.512 GB, free: 14.96 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.6727, allocations: 6.373 MB / 1.518 GB, free: 8.566 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.6728, allocations: 8 kB / 1.518 GB, free: 8.559 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6728, allocations: 0 / 1.518 GB, free: 8.559 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001562/0.6729, allocations: 0 / 1.518 GB, free: 8.559 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.01158/0.6845, allocations: 4.33 MB / 1.522 GB, free: 4.145 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.6845, allocations: 8.031 kB / 1.522 GB, free: 4.137 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/0.6874, allocations: 0.5101 MB / 1.523 GB, free: 3.625 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01655/0.7039, allocations: 12.37 MB / 1.535 GB, free: 7.191 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.7042, allocations: 171.1 kB / 1.535 GB, free: 7.023 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006928/0.7049, allocations: 244 kB / 1.535 GB, free: 6.785 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005355/0.7102, allocations: 2.381 MB / 1.538 GB, free: 4.344 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.7103, allocations: 4 kB / 1.538 GB, free: 4.34 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.7105, allocations: 64 kB / 1.538 GB, free: 4.277 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.7105, allocations: 43.94 kB / 1.538 GB, free: 4.234 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00443/0.715, allocations: 2.463 MB / 1.54 GB, free: 1.766 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02288/0.7378, allocations: 15.6 MB / 1.555 GB, free: 1.898 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003448/0.7413, allocations: 1.654 MB / 1.557 GB, free: 248 kB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.7429, allocations: 0.9845 MB / 1.558 GB, free: 15.26 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.743, allocations: 37.09 kB / 1.558 GB, free: 15.22 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002259/0.7453, allocations: 1.373 MB / 1.559 GB, free: 13.83 MB / 1.264 GB Notification: Performance of pre-optimization done (n=138): time 2.845e-06/0.7453, allocations: 0 / 1.559 GB, free: 13.83 MB / 1.264 GB Notification: Performance of matching and sorting (n=138): time 0.007799/0.7531, allocations: 3.828 MB / 1.563 GB, free: 9.965 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000297/0.7534, allocations: 362.5 kB / 1.563 GB, free: 9.562 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03599/0.7894, allocations: 20.64 MB / 1.583 GB, free: 4.906 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0008466/0.7902, allocations: 81.7 kB / 1.584 GB, free: 4.82 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002057/0.7923, allocations: 1.192 MB / 1.585 GB, free: 3.617 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009084/0.7932, allocations: 495.9 kB / 1.585 GB, free: 3.129 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006318/0.7995, allocations: 5.015 MB / 1.59 GB, free: 14.09 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.7997, allocations: 301.1 kB / 1.59 GB, free: 13.79 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.8639/1.664, allocations: 38.67 MB / 1.628 GB, free: 265.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03077/1.694, allocations: 40.08 MB / 1.667 GB, free: 232.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03477/1.729, allocations: 47.74 MB / 1.714 GB, free: 186.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-05/1.729, allocations: 4 kB / 1.714 GB, free: 186.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06941/1.799, allocations: 91 MB / 1.803 GB, free: 96.09 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/1.799, allocations: 201.6 kB / 1.803 GB, free: 95.89 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.688e-05/1.799, allocations: 20 kB / 1.803 GB, free: 95.87 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006552/1.8, allocations: 108.5 kB / 1.803 GB, free: 95.76 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/1.802, allocations: 0.6161 MB / 1.804 GB, free: 95.14 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/1.804, allocations: 1.66 MB / 1.805 GB, free: 93.36 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003334/1.808, allocations: 388.5 kB / 1.806 GB, free: 93.18 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004677/1.808, allocations: 154.5 kB / 1.806 GB, free: 93.04 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 355 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002426/1.81, allocations: 2.505 MB / 1.808 GB, free: 90.54 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/1.811, allocations: 274.4 kB / 1.809 GB, free: 90.43 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/1.816, allocations: 3.504 MB / 1.812 GB, free: 86.95 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.816, allocations: 15.94 kB / 1.812 GB, free: 86.93 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.816, allocations: 5.906 kB / 1.812 GB, free: 86.93 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.816, allocations: 7.984 kB / 1.812 GB, free: 86.92 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/1.818, allocations: 2.091 MB / 1.814 GB, free: 84.85 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.818, allocations: 0 / 1.814 GB, free: 84.85 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/1.819, allocations: 203.7 kB / 1.814 GB, free: 84.65 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/1.819, allocations: 76.78 kB / 1.814 GB, free: 84.57 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.223e-05/1.82, allocations: 39.97 kB / 1.814 GB, free: 84.54 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/1.821, allocations: 1.669 MB / 1.816 GB, free: 82.73 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.821, allocations: 0 / 1.816 GB, free: 82.73 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/1.825, allocations: 3.36 MB / 1.819 GB, free: 79.44 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008257/1.826, allocations: 0.5668 MB / 1.82 GB, free: 78.87 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/1.826, allocations: 28 kB / 1.82 GB, free: 78.84 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.827, allocations: 99.02 kB / 1.82 GB, free: 78.75 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/1.827, allocations: 105.1 kB / 1.82 GB, free: 78.64 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/1.828, allocations: 67.95 kB / 1.82 GB, free: 78.58 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007656/1.835, allocations: 12.81 MB / 1.833 GB, free: 65.77 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.5e-07/1.835, allocations: 0 / 1.833 GB, free: 65.77 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005324/1.841, allocations: 1.809 MB / 1.834 GB, free: 64.09 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003603/1.844, allocations: 1.023 MB / 1.835 GB, free: 63.44 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02873/1.873, allocations: 41.27 MB / 1.876 GB, free: 22.16 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/1.873, allocations: 0 / 1.876 GB, free: 22.16 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/1.875, allocations: 1.876 MB / 1.877 GB, free: 20.25 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/1.878, allocations: 494 kB / 1.878 GB, free: 19.79 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/1.901, allocations: 19.39 MB / 1.897 GB, free: 372 kB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007144/1.908, allocations: 4.638 MB / 1.901 GB, free: 11.7 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002599/1.91, allocations: 0.6528 MB / 1.902 GB, free: 11.04 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007974/1.911, allocations: 223.4 kB / 1.902 GB, free: 10.82 MB / 1.311 GB Notification: Performance of SimCode: time 1.583e-06/1.911, allocations: 0 / 1.902 GB, free: 10.82 MB / 1.311 GB Notification: Performance of Templates: time 0.1386/2.05, allocations: 63.68 MB / 1.964 GB, free: 11.38 MB / 1.373 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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: 12.048457937780768]