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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 188 kB / 22.22 MB, free: 5.164 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.929/2.929, allocations: 0.4893 GB / 0.7884 GB, free: 33.03 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",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.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 68.22 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3309, allocations: 174.9 MB / 1.316 GB, free: 9.672 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.0106/0.3415, allocations: 8.621 MB / 1.324 GB, free: 1.008 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.1968/0.5382, allocations: 160.1 MB / 1.481 GB, free: 316 kB / 1.17 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001864/0.5401, allocations: 47.62 kB / 1.481 GB, free: 268 kB / 1.17 GB
Notification: Performance of NFTyping.typeComponents: time 0.005836/0.5459, allocations: 2.183 MB / 1.483 GB, free: 14.07 MB / 1.186 GB
Notification: Performance of NFTyping.typeBindings: time 0.003841/0.5498, allocations: 1.278 MB / 1.484 GB, free: 12.79 MB / 1.186 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003917/0.5537, allocations: 1.541 MB / 1.486 GB, free: 11.26 MB / 1.186 GB
Notification: Performance of NFFlatten.flatten: time 0.007041/0.5607, allocations: 5.762 MB / 1.491 GB, free: 5.484 MB / 1.186 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.5625, allocations: 0.8183 MB / 1.492 GB, free: 4.617 MB / 1.186 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.003031/0.5656, allocations: 1.738 MB / 1.494 GB, free: 2.875 MB / 1.186 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.5684, allocations: 1.689 MB / 1.496 GB, free: 1.18 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 0.0008898/0.5693, allocations: 288 kB / 1.496 GB, free: 0.8984 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005673/0.575, allocations: 3.085 MB / 1.499 GB, free: 13.81 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.004377/0.5793, allocations: 4.377 MB / 1.503 GB, free: 9.426 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.002769/0.5821, allocations: 1.718 MB / 1.505 GB, free: 7.699 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.00912/0.5912, allocations: 6.408 MB / 1.511 GB, free: 1.27 MB / 1.201 GB
Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5912, allocations: 0 / 1.511 GB, free: 1.27 MB / 1.201 GB
Notification: Performance of FrontEnd: time 1.683e-06/0.5912, allocations: 0 / 1.511 GB, free: 1.27 MB / 1.201 GB
Notification: Performance of Transformations before backend: time 9.332e-05/0.5913, allocations: 0 / 1.511 GB, free: 1.27 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.007835/0.5992, allocations: 4.24 MB / 1.515 GB, free: 12.96 MB / 1.217 GB
Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.5992, allocations: 8.031 kB / 1.515 GB, free: 12.95 MB / 1.217 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.6005, allocations: 442.5 kB / 1.516 GB, free: 12.52 MB / 1.217 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01289/0.6134, allocations: 12.27 MB / 1.528 GB, free: 180 kB / 1.217 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.6136, allocations: 175.1 kB / 1.528 GB, free: 4 kB / 1.217 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/0.6139, allocations: 236 kB / 1.528 GB, free: 15.77 MB / 1.232 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003842/0.6178, allocations: 2.371 MB / 1.53 GB, free: 13.34 MB / 1.232 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.6178, allocations: 3.938 kB / 1.53 GB, free: 13.34 MB / 1.232 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.618, allocations: 68 kB / 1.53 GB, free: 13.27 MB / 1.232 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.618, allocations: 40 kB / 1.53 GB, free: 13.23 MB / 1.232 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.6218, allocations: 2.459 MB / 1.533 GB, free: 10.77 MB / 1.232 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02079/0.6425, allocations: 15.53 MB / 1.548 GB, free: 10.98 MB / 1.248 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003149/0.6457, allocations: 1.671 MB / 1.55 GB, free: 9.305 MB / 1.248 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.6471, allocations: 0.9805 MB / 1.551 GB, free: 8.316 MB / 1.248 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.463e-05/0.6472, allocations: 41.09 kB / 1.551 GB, free: 8.277 MB / 1.248 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001968/0.6492, allocations: 1.358 MB / 1.552 GB, free: 6.902 MB / 1.248 GB
Notification: Performance of pre-optimization done (n=138): time 2.294e-06/0.6492, allocations: 0 / 1.552 GB, free: 6.902 MB / 1.248 GB
Notification: Performance of matching and sorting (n=138): time 0.006864/0.656, allocations: 3.757 MB / 1.556 GB, free: 3.133 MB / 1.248 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000252/0.6563, allocations: 362.5 kB / 1.556 GB, free: 2.73 MB / 1.248 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02898/0.6853, allocations: 20.6 MB / 1.576 GB, free: 14.11 MB / 1.279 GB
Notification: Performance of collectPreVariables (initialization): time 0.0005355/0.6858, allocations: 85.7 kB / 1.576 GB, free: 14.02 MB / 1.279 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.6872, allocations: 1.188 MB / 1.577 GB, free: 12.82 MB / 1.279 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0005161/0.6877, allocations: 491.9 kB / 1.578 GB, free: 12.34 MB / 1.279 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.004792/0.6925, allocations: 5.015 MB / 1.583 GB, free: 7.297 MB / 1.279 GB
Notification: Performance of setup shared object (initialization): time 0.0001444/0.6926, allocations: 301.1 kB / 1.583 GB, free: 7 MB / 1.279 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.7417/1.434, allocations: 38.68 MB / 1.621 GB, free: 276.1 MB / 1.295 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.02689/1.461, allocations: 40.08 MB / 1.66 GB, free: 247.6 MB / 1.295 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.02827/1.49, allocations: 47.95 MB / 1.707 GB, free: 201.3 MB / 1.295 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.306e-05/1.49, allocations: 4 kB / 1.707 GB, free: 201.3 MB / 1.295 GB
Notification: Performance of matching and sorting (n=1852) (initialization): time 0.05826/1.548, allocations: 91.44 MB / 1.796 GB, free: 110.8 MB / 1.295 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001822/1.548, allocations: 201.6 kB / 1.796 GB, free: 110.6 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/1.548, allocations: 16 kB / 1.796 GB, free: 110.5 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/1.549, allocations: 116.6 kB / 1.796 GB, free: 110.4 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00221/1.551, allocations: 0.6045 MB / 1.797 GB, free: 109.8 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/1.552, allocations: 1.568 MB / 1.798 GB, free: 108.2 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/1.555, allocations: 382 kB / 1.799 GB, free: 108 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/1.555, allocations: 158.5 kB / 1.799 GB, free: 107.8 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.001821/1.557, allocations: 2.5 MB / 1.801 GB, free: 105.3 MB / 1.295 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/1.557, allocations: 276 kB / 1.802 GB, free: 105.2 MB / 1.295 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004068/1.561, allocations: 3.5 MB / 1.805 GB, free: 101.8 MB / 1.295 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.561, allocations: 12 kB / 1.805 GB, free: 101.7 MB / 1.295 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.561, allocations: 3.938 kB / 1.805 GB, free: 101.7 MB / 1.295 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.561, allocations: 3.984 kB / 1.805 GB, free: 101.7 MB / 1.295 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/1.563, allocations: 2.06 MB / 1.807 GB, free: 99.7 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/1.563, allocations: 0 / 1.807 GB, free: 99.7 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007903/1.564, allocations: 207.7 kB / 1.807 GB, free: 99.5 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/1.564, allocations: 72.78 kB / 1.807 GB, free: 99.43 MB / 1.295 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.601e-05/1.564, allocations: 44.84 kB / 1.807 GB, free: 99.38 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/1.566, allocations: 1.564 MB / 1.809 GB, free: 97.72 MB / 1.295 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.566, allocations: 0 / 1.809 GB, free: 97.72 MB / 1.295 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003605/1.569, allocations: 3.357 MB / 1.812 GB, free: 94.42 MB / 1.295 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008495/1.57, allocations: 491.2 kB / 1.813 GB, free: 93.96 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/1.571, allocations: 38.23 kB / 1.813 GB, free: 93.92 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009508/1.571, allocations: 91.91 kB / 1.813 GB, free: 93.83 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/1.572, allocations: 105.1 kB / 1.813 GB, free: 93.73 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.572, allocations: 67.91 kB / 1.813 GB, free: 93.66 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 0.006524/1.578, allocations: 12.8 MB / 1.825 GB, free: 80.86 MB / 1.295 GB
Notification: Performance of sort global known variables: time 2.2e-07/1.578, allocations: 0 / 1.825 GB, free: 80.86 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.003897/1.582, allocations: 1.806 MB / 1.827 GB, free: 79.19 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.002701/1.585, allocations: 1.022 MB / 1.828 GB, free: 78.54 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.02556/1.61, allocations: 41.26 MB / 1.868 GB, free: 37.26 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.61, allocations: 64 / 1.868 GB, free: 37.26 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.002062/1.613, allocations: 1.884 MB / 1.87 GB, free: 35.35 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.615, allocations: 492.9 kB / 1.871 GB, free: 34.89 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/1.631, allocations: 19.78 MB / 1.89 GB, free: 15.08 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003252/1.634, allocations: 4.636 MB / 1.895 GB, free: 10.42 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.00153/1.636, allocations: 0.6526 MB / 1.895 GB, free: 9.762 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/1.636, allocations: 223.3 kB / 1.895 GB, free: 9.543 MB / 1.295 GB
Notification: Performance of SimCode: time 7.32e-07/1.636, allocations: 0 / 1.895 GB, free: 9.543 MB / 1.295 GB
Notification: Performance of Templates: time 0.1112/1.748, allocations: 64.27 MB / 1.958 GB, free: 9.551 MB / 1.357 GB
"
[Timeout remaining time 298]
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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.858082488179207]