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.001868/0.001868, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002213/0.002213, allocations: 215.4 kB / 22.25 MB, free: 5.262 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.785 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.396/3.396, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 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.002189/0.002189, allocations: 72.58 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.362, allocations: 176.1 MB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01099/0.373, allocations: 7.537 MB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1981/0.571, allocations: 140.7 MB / 1.47 GB, free: 13.01 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.5727, allocations: 51.56 kB / 1.47 GB, free: 12.96 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005923/0.5787, allocations: 2.093 MB / 1.472 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004467/0.5831, allocations: 1.295 MB / 1.474 GB, free: 9.559 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.5875, allocations: 1.506 MB / 1.475 GB, free: 8.059 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006961/0.5945, allocations: 5.683 MB / 1.481 GB, free: 2.363 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.596, allocations: 0.787 MB / 1.481 GB, free: 1.527 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/0.5989, allocations: 1.765 MB / 1.483 GB, free: 15.76 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002515/0.6014, allocations: 1.596 MB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000539/0.602, allocations: 292 kB / 1.485 GB, free: 13.87 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004924/0.6069, allocations: 2.824 MB / 1.488 GB, free: 11.04 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004096/0.611, allocations: 4.366 MB / 1.492 GB, free: 6.672 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001829/0.6128, allocations: 1.384 MB / 1.493 GB, free: 5.281 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.008819/0.6217, allocations: 6.435 MB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.6217, allocations: 3.938 kB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.196e-06/0.6217, allocations: 0 / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001405/0.6218, allocations: 4 kB / 1.5 GB, free: 14.82 MB / 1.201 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.01071/0.6325, allocations: 4.228 MB / 1.504 GB, free: 10.52 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.6326, allocations: 12.03 kB / 1.504 GB, free: 10.51 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.635, allocations: 0.5139 MB / 1.504 GB, free: 9.996 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.6497, allocations: 12.3 MB / 1.516 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.6499, allocations: 171.1 kB / 1.517 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.6503, allocations: 239.9 kB / 1.517 GB, free: 13.21 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/0.6546, allocations: 2.781 MB / 1.519 GB, free: 10.25 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.6547, allocations: 0 / 1.519 GB, free: 10.25 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.6548, allocations: 64 kB / 1.52 GB, free: 10.19 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.6549, allocations: 40 kB / 1.52 GB, free: 10.15 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003993/0.6589, allocations: 2.336 MB / 1.522 GB, free: 7.801 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02089/0.6798, allocations: 14.09 MB / 1.536 GB, free: 9.594 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.6832, allocations: 1.59 MB / 1.537 GB, free: 7.992 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.6848, allocations: 0.9196 MB / 1.538 GB, free: 7.059 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.6849, allocations: 32.97 kB / 1.538 GB, free: 7.027 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002344/0.6872, allocations: 1.59 MB / 1.54 GB, free: 5.336 MB / 1.232 GB Notification: Performance of pre-optimization done (n=138): time 3.566e-06/0.6872, allocations: 0 / 1.54 GB, free: 5.336 MB / 1.232 GB Notification: Performance of matching and sorting (n=138): time 0.007033/0.6943, allocations: 3.374 MB / 1.543 GB, free: 1.934 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002594/0.6945, allocations: 338.5 kB / 1.543 GB, free: 1.555 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03255/0.7271, allocations: 20.55 MB / 1.563 GB, free: 12.98 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0005913/0.7277, allocations: 85.7 kB / 1.563 GB, free: 12.89 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001837/0.7295, allocations: 1.189 MB / 1.565 GB, free: 11.69 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007664/0.7303, allocations: 499.8 kB / 1.565 GB, free: 11.2 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005748/0.736, allocations: 5.015 MB / 1.57 GB, free: 6.156 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7361, allocations: 301.1 kB / 1.57 GB, free: 5.859 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.9018/1.638, allocations: 38.6 MB / 1.608 GB, free: 273.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04051/1.678, allocations: 40.13 MB / 1.647 GB, free: 254.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03504/1.713, allocations: 47.47 MB / 1.693 GB, free: 208.8 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.137e-05/1.714, allocations: 4 kB / 1.693 GB, free: 208.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06789/1.781, allocations: 91.12 MB / 1.782 GB, free: 119.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/1.782, allocations: 173.6 kB / 1.783 GB, free: 119.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.52e-05/1.782, allocations: 20 kB / 1.783 GB, free: 119.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/1.782, allocations: 113.1 kB / 1.783 GB, free: 119.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/1.785, allocations: 0.6084 MB / 1.783 GB, free: 118.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/1.786, allocations: 1.535 MB / 1.785 GB, free: 117 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/1.789, allocations: 373 kB / 1.785 GB, free: 116.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000405/1.79, allocations: 154.6 kB / 1.785 GB, free: 116.7 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.002282/1.792, allocations: 2.487 MB / 1.788 GB, free: 114.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005329/1.793, allocations: 270 kB / 1.788 GB, free: 114.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004253/1.797, allocations: 3.011 MB / 1.791 GB, free: 111.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.797, allocations: 12 kB / 1.791 GB, free: 111.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.797, allocations: 3.781 kB / 1.791 GB, free: 111.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.797, allocations: 7.922 kB / 1.791 GB, free: 111.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/1.8, allocations: 1.559 MB / 1.793 GB, free: 109.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.8, allocations: 0 / 1.793 GB, free: 109.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008901/1.801, allocations: 207.7 kB / 1.793 GB, free: 109.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/1.801, allocations: 72.75 kB / 1.793 GB, free: 109.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/1.802, allocations: 43.97 kB / 1.793 GB, free: 109.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/1.803, allocations: 1.531 MB / 1.794 GB, free: 107.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.803, allocations: 0 / 1.794 GB, free: 107.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/1.808, allocations: 2.877 MB / 1.797 GB, free: 104.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/1.809, allocations: 483.4 kB / 1.798 GB, free: 104.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003764/1.81, allocations: 30.11 kB / 1.798 GB, free: 104.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/1.811, allocations: 96.75 kB / 1.798 GB, free: 104.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/1.811, allocations: 113.1 kB / 1.798 GB, free: 104.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/1.811, allocations: 63.97 kB / 1.798 GB, free: 104.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008367/1.819, allocations: 12.75 MB / 1.81 GB, free: 91.32 MB / 1.295 GB Notification: Performance of sort global known variables: time 5.41e-07/1.819, allocations: 0 / 1.81 GB, free: 91.32 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005394/1.825, allocations: 1.811 MB / 1.812 GB, free: 89.65 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.003414/1.828, allocations: 1.053 MB / 1.813 GB, free: 89 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02902/1.857, allocations: 40.96 MB / 1.853 GB, free: 48 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.857, allocations: 2 kB / 1.853 GB, free: 48 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002317/1.86, allocations: 1.616 MB / 1.855 GB, free: 46.36 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.862, allocations: 486 kB / 1.855 GB, free: 45.91 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02126/1.883, allocations: 20.22 MB / 1.875 GB, free: 25.64 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004436/1.888, allocations: 4.162 MB / 1.879 GB, free: 21.45 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002267/1.89, allocations: 0.6439 MB / 1.88 GB, free: 20.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/1.89, allocations: 219.4 kB / 1.88 GB, free: 20.59 MB / 1.295 GB Notification: Performance of SimCode: time 1.362e-06/1.89, allocations: 0 / 1.88 GB, free: 20.59 MB / 1.295 GB Notification: Performance of Templates: time 0.124/2.014, allocations: 68.14 MB / 1.946 GB, free: 0.7734 MB / 1.342 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.521052695810795]