Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001555/0.001555, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001211/0.001211, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.242/2.242, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.535e-05/3.787e-05, allocations: 6.844 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.008661/0.008699, allocations: 8.281 MB / 0.8863 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1468/0.1555, allocations: 154.9 MB / 1.038 GB, free: 2.516 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.1572, allocations: 55.62 kB / 1.038 GB, free: 2.461 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.004559/0.1618, allocations: 2.115 MB / 1.04 GB, free: 344 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.1651, allocations: 1.322 MB / 1.041 GB, free: 15.01 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.1683, allocations: 1.582 MB / 1.043 GB, free: 13.42 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.005012/0.1733, allocations: 4.548 MB / 1.047 GB, free: 8.859 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.1747, allocations: 0.7909 MB / 1.048 GB, free: 8.02 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00366/0.1784, allocations: 2.18 MB / 1.05 GB, free: 5.836 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.1805, allocations: 1.41 MB / 1.051 GB, free: 4.422 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0008643/0.1814, allocations: 296 kB / 1.052 GB, free: 4.133 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004555/0.186, allocations: 2.847 MB / 1.054 GB, free: 1.281 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.4852/0.6712, allocations: 4.388 MB / 1.059 GB, free: 55.67 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.003111/0.6743, allocations: 1.159 MB / 1.06 GB, free: 55.67 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.008424/0.6827, allocations: 5.099 MB / 1.065 GB, free: 55.41 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6827, allocations: 1.469 kB / 1.065 GB, free: 55.41 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6827, allocations: 0 / 1.065 GB, free: 55.41 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001536/0.6829, allocations: 0 / 1.065 GB, free: 55.41 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00667/0.6895, allocations: 4.399 MB / 1.069 GB, free: 53.41 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.6896, allocations: 13.27 kB / 1.069 GB, free: 53.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.6916, allocations: 0.6808 MB / 1.07 GB, free: 53.16 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004211/0.6958, allocations: 2.922 MB / 1.073 GB, free: 52.5 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.6959, allocations: 181.6 kB / 1.073 GB, free: 52.5 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.6962, allocations: 250.3 kB / 1.073 GB, free: 52.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.6987, allocations: 2.128 MB / 1.075 GB, free: 51.62 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.103e-05/0.6988, allocations: 3.281 kB / 1.075 GB, free: 51.62 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.6989, allocations: 69.75 kB / 1.075 GB, free: 51.62 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.6989, allocations: 41.58 kB / 1.075 GB, free: 51.62 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.7013, allocations: 1.407 MB / 1.077 GB, free: 51.57 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.7117, allocations: 6.465 MB / 1.083 GB, free: 49.94 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.7132, allocations: 1.048 MB / 1.084 GB, free: 49.87 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000776/0.714, allocations: 0.6048 MB / 1.084 GB, free: 49.82 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.045e-05/0.7141, allocations: 41.09 kB / 1.084 GB, free: 49.82 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.7152, allocations: 1.249 MB / 1.086 GB, free: 49.32 MB / 1.01 GB Notification: Performance of pre-optimization done (n=148): time 2.976e-06/0.7152, allocations: 0 / 1.086 GB, free: 49.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=148): time 0.003775/0.719, allocations: 2.491 MB / 1.088 GB, free: 48.99 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.7191, allocations: 336.8 kB / 1.088 GB, free: 48.74 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.7223, allocations: 2.911 MB / 1.091 GB, free: 48.31 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/0.7226, allocations: 94.45 kB / 1.091 GB, free: 48.28 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000977/0.7236, allocations: 1.369 MB / 1.093 GB, free: 47.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/0.724, allocations: 0.5116 MB / 1.093 GB, free: 47.52 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005732/0.7298, allocations: 6.584 MB / 1.1 GB, free: 46.38 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.7298, allocations: 478.2 kB / 1.1 GB, free: 45.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009659/0.7395, allocations: 9.22 MB / 1.109 GB, free: 45.86 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009842/0.7493, allocations: 11.79 MB / 1.121 GB, free: 44.55 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01411/0.7634, allocations: 18.6 MB / 1.139 GB, free: 37.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.374e-05/0.7635, allocations: 5.875 kB / 1.139 GB, free: 37.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=1868) (initialization): time 0.03356/0.797, allocations: 45.49 MB / 1.183 GB, free: 7.785 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.7972, allocations: 162.7 kB / 1.183 GB, free: 7.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.7973, allocations: 20 kB / 1.183 GB, free: 7.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005873/0.7979, allocations: 156.4 kB / 1.184 GB, free: 7.547 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.8, allocations: 0.6349 MB / 1.184 GB, free: 7.074 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.8014, allocations: 1.944 MB / 1.186 GB, free: 5.148 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/0.8041, allocations: 355 kB / 1.186 GB, free: 4.863 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003889/0.8045, allocations: 157 kB / 1.187 GB, free: 4.75 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,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 (412): * Single equations (assignments): 371 * 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.001149/0.8057, allocations: 0.4947 MB / 1.187 GB, free: 4.426 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004789/0.8061, allocations: 321.4 kB / 1.187 GB, free: 4.125 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.8088, allocations: 2.155 MB / 1.189 GB, free: 2.73 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.8088, allocations: 13 kB / 1.189 GB, free: 2.719 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8088, allocations: 0 / 1.189 GB, free: 2.719 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.8088, allocations: 6.891 kB / 1.189 GB, free: 2.719 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/0.814, allocations: 4.258 MB / 1.194 GB, free: 188 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.814, allocations: 4.75 kB / 1.194 GB, free: 184 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.8145, allocations: 208.6 kB / 1.194 GB, free: 24 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006622/0.8152, allocations: 141.1 kB / 1.194 GB, free: 0 / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.8154, allocations: 54.03 kB / 1.194 GB, free: 0 / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.8167, allocations: 1.92 MB / 1.196 GB, free: 14.1 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8167, allocations: 0 / 1.196 GB, free: 14.1 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/0.8197, allocations: 2.258 MB / 1.198 GB, free: 12.37 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/0.8205, allocations: 483.9 kB / 1.199 GB, free: 12.05 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.8208, allocations: 46.06 kB / 1.199 GB, free: 12.03 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.8213, allocations: 74.08 kB / 1.199 GB, free: 11.99 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.8215, allocations: 109.5 kB / 1.199 GB, free: 11.96 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.8216, allocations: 70.12 kB / 1.199 GB, free: 11.91 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.002127/0.8238, allocations: 1.493 MB / 1.2 GB, free: 10.79 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.8238, allocations: 0 / 1.2 GB, free: 10.79 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.004173/0.8279, allocations: 1.821 MB / 1.202 GB, free: 9 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 12 * 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.002468/0.8304, allocations: 1.109 MB / 1.203 GB, free: 8.227 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01503/0.8454, allocations: 13.51 MB / 1.216 GB, free: 12.02 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 7.024e-06/0.8454, allocations: 0 / 1.216 GB, free: 12.02 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/0.8471, allocations: 1.287 MB / 1.218 GB, free: 10.87 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.8492, allocations: 0.5178 MB / 1.218 GB, free: 10.46 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/0.8671, allocations: 14.99 MB / 1.233 GB, free: 12.36 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/0.8689, allocations: 1.723 MB / 1.234 GB, free: 11.15 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001578/0.8705, allocations: 0.5149 MB / 1.235 GB, free: 10.81 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.8711, allocations: 226.4 kB / 1.235 GB, free: 10.61 MB / 1.057 GB Notification: Performance of SimCode: time 2.235e-06/0.8711, allocations: 0 / 1.235 GB, free: 10.61 MB / 1.057 GB Notification: Performance of Templates: time 0.09981/0.9709, allocations: 65.02 MB / 1.299 GB, free: 5.352 MB / 1.104 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.644578359089792]