Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001974/0.001974, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6426/0.6439, allocations: 140.3 MB / 0.9489 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.006858/0.6508, allocations: 7.266 MB / 0.956 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.8267, allocations: 157.3 MB / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002369/0.8291, allocations: 31.81 kB / 1.11 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005633/0.8348, allocations: 1.787 MB / 1.111 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.8381, allocations: 1.054 MB / 1.112 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003334/0.8414, allocations: 1.252 MB / 1.114 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005412/0.8468, allocations: 5.205 MB / 1.119 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.8488, allocations: 1.245 MB / 1.12 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.8512, allocations: 1.428 MB / 1.121 GB, free: 0.8867 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.8536, allocations: 1.483 MB / 1.123 GB, free: 15.4 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0007231/0.8544, allocations: 136 kB / 1.123 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004371/0.8588, allocations: 2.282 MB / 1.125 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004352/0.8631, allocations: 4.206 MB / 1.129 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003326/0.8665, allocations: 1.503 MB / 1.131 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009291/0.8758, allocations: 6.01 MB / 1.137 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8758, allocations: 0 / 1.137 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8758, allocations: 4 kB / 1.137 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001816/0.876, allocations: 0 / 1.137 GB, free: 1.227 MB / 0.8887 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.01073/0.8868, allocations: 4.149 MB / 1.141 GB, free: 13 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.8868, allocations: 8.031 kB / 1.141 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.8889, allocations: 428.4 kB / 1.141 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/0.9012, allocations: 12.29 MB / 1.153 GB, free: 216 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.9014, allocations: 171.1 kB / 1.153 GB, free: 44 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005134/0.9019, allocations: 244.1 kB / 1.153 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.906, allocations: 2.377 MB / 1.156 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.906, allocations: 0 / 1.156 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.9062, allocations: 72 kB / 1.156 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.9063, allocations: 36 kB / 1.156 GB, free: 13.26 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/0.9101, allocations: 2.463 MB / 1.158 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01997/0.9301, allocations: 15.06 MB / 1.173 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/0.9338, allocations: 1.981 MB / 1.175 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002121/0.936, allocations: 1.289 MB / 1.176 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.9362, allocations: 41.09 kB / 1.176 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002462/0.9387, allocations: 1.358 MB / 1.178 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=138): time 5.24e-06/0.9387, allocations: 4 kB / 1.178 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=138): time 0.0074/0.9461, allocations: 3.811 MB / 1.181 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002668/0.9464, allocations: 370.5 kB / 1.182 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03049/0.9769, allocations: 20.6 MB / 1.202 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005336/0.9775, allocations: 85.7 kB / 1.202 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/0.979, allocations: 1.163 MB / 1.203 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006378/0.9796, allocations: 469.4 kB / 1.203 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004869/0.9845, allocations: 4.927 MB / 1.208 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.9846, allocations: 305.1 kB / 1.209 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03573/1.02, allocations: 38.68 MB / 1.246 GB, free: 344 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4786/1.499, allocations: 40.07 MB / 1.285 GB, free: 261 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02919/1.528, allocations: 47.73 MB / 1.332 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.465e-05/1.528, allocations: 7.984 kB / 1.332 GB, free: 213.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06336/1.592, allocations: 90.96 MB / 1.421 GB, free: 122.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/1.592, allocations: 201.6 kB / 1.421 GB, free: 122.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-05/1.592, allocations: 20 kB / 1.421 GB, free: 122.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006727/1.593, allocations: 108.9 kB / 1.421 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/1.595, allocations: 0.6161 MB / 1.422 GB, free: 121.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/1.597, allocations: 1.57 MB / 1.423 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/1.6, allocations: 379.1 kB / 1.424 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/1.6, allocations: 151.8 kB / 1.424 GB, free: 119.6 MB / 0.9981 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.002346/1.602, allocations: 2.505 MB / 1.426 GB, free: 117.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005413/1.603, allocations: 268.1 kB / 1.427 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004534/1.607, allocations: 3.481 MB / 1.43 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.607, allocations: 15.94 kB / 1.43 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.607, allocations: 0 / 1.43 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/1.607, allocations: 3.984 kB / 1.43 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/1.61, allocations: 2.088 MB / 1.432 GB, free: 111.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/1.61, allocations: 0 / 1.432 GB, free: 111.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008566/1.611, allocations: 207.7 kB / 1.432 GB, free: 111.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/1.611, allocations: 87.44 kB / 1.432 GB, free: 111 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.611, allocations: 47.41 kB / 1.432 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/1.613, allocations: 1.544 MB / 1.434 GB, free: 109.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.613, allocations: 8 kB / 1.434 GB, free: 109.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/1.617, allocations: 3.318 MB / 1.437 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/1.618, allocations: 0.5596 MB / 1.438 GB, free: 105.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/1.618, allocations: 28 kB / 1.438 GB, free: 105.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.619, allocations: 105.2 kB / 1.438 GB, free: 105.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/1.619, allocations: 101.2 kB / 1.438 GB, free: 105.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.62, allocations: 71.33 kB / 1.438 GB, free: 105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00748/1.627, allocations: 12.8 MB / 1.45 GB, free: 92.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.627, allocations: 0 / 1.45 GB, free: 92.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004064/1.631, allocations: 1.764 MB / 1.452 GB, free: 90.55 MB / 0.9981 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.002581/1.634, allocations: 0.9977 MB / 1.453 GB, free: 89.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.03138/1.665, allocations: 50.9 MB / 1.503 GB, free: 38.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.665, allocations: 4.875 kB / 1.503 GB, free: 38.94 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002677/1.668, allocations: 2.712 MB / 1.505 GB, free: 36.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/1.671, allocations: 451.2 kB / 1.506 GB, free: 35.77 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/1.696, allocations: 21.26 MB / 1.527 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005753/1.702, allocations: 4.634 MB / 1.531 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002366/1.704, allocations: 0.6524 MB / 1.532 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009621/1.705, allocations: 219.4 kB / 1.532 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of SimCode: time 1.453e-06/1.705, allocations: 0 / 1.532 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of Templates: time 0.1726/1.878, allocations: 58.55 MB / 1.589 GB, free: 14.62 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches