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.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.001678/0.001678, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001876/0.001876, allocations: 190 kB / 22.1 MB, free: 5.152 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.514/1.514, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.276/3.276, allocations: 495.8 MB / 0.783 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.08 kB / 1.137 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3976, allocations: 173.6 MB / 1.307 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01388/0.4115, allocations: 8.579 MB / 1.315 GB, free: 9.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2193/0.6308, allocations: 158.4 MB / 1.47 GB, free: 10.19 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.6325, allocations: 47.62 kB / 1.47 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006022/0.6385, allocations: 2.186 MB / 1.472 GB, free: 7.949 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004019/0.6425, allocations: 1.285 MB / 1.473 GB, free: 6.664 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.6466, allocations: 1.54 MB / 1.475 GB, free: 5.129 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.008489/0.6551, allocations: 5.758 MB / 1.48 GB, free: 15.36 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.657, allocations: 0.8143 MB / 1.481 GB, free: 14.49 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.6604, allocations: 1.738 MB / 1.483 GB, free: 12.75 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002935/0.6634, allocations: 1.686 MB / 1.485 GB, free: 11.06 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006494/0.664, allocations: 292 kB / 1.485 GB, free: 10.77 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005587/0.6696, allocations: 3.007 MB / 1.488 GB, free: 7.762 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004621/0.6742, allocations: 4.381 MB / 1.492 GB, free: 3.375 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002554/0.6768, allocations: 1.718 MB / 1.494 GB, free: 1.648 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.6885, allocations: 6.373 MB / 1.5 GB, free: 11.25 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6886, allocations: 0 / 1.5 GB, free: 11.25 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6886, allocations: 0 / 1.5 GB, free: 11.25 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001536/0.6887, allocations: 0 / 1.5 GB, free: 11.25 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.009837/0.6985, allocations: 4.234 MB / 1.504 GB, free: 6.957 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.6986, allocations: 12.03 kB / 1.504 GB, free: 6.945 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.7002, allocations: 446.4 kB / 1.505 GB, free: 6.508 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/0.7157, allocations: 12.27 MB / 1.517 GB, free: 10.16 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001795/0.7159, allocations: 171.1 kB / 1.517 GB, free: 9.992 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004448/0.7163, allocations: 235.9 kB / 1.517 GB, free: 9.762 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004349/0.7207, allocations: 2.377 MB / 1.519 GB, free: 7.324 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.7207, allocations: 0 / 1.519 GB, free: 7.324 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.7209, allocations: 68 kB / 1.519 GB, free: 7.258 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.7209, allocations: 40 kB / 1.519 GB, free: 7.219 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/0.7253, allocations: 2.467 MB / 1.522 GB, free: 4.746 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02371/0.749, allocations: 15.48 MB / 1.537 GB, free: 5 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/0.7528, allocations: 1.661 MB / 1.538 GB, free: 3.332 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.7545, allocations: 0.9884 MB / 1.539 GB, free: 2.344 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-05/0.7546, allocations: 33.09 kB / 1.539 GB, free: 2.312 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002256/0.7568, allocations: 1.369 MB / 1.541 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of pre-optimization done (n=138): time 3.216e-06/0.7568, allocations: 0 / 1.541 GB, free: 0.9219 MB / 1.232 GB Notification: Performance of matching and sorting (n=138): time 0.008083/0.7649, allocations: 3.761 MB / 1.544 GB, free: 13.15 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003473/0.7653, allocations: 362.5 kB / 1.545 GB, free: 12.75 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0349/0.8002, allocations: 20.6 MB / 1.565 GB, free: 8.125 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0007335/0.8009, allocations: 85.7 kB / 1.565 GB, free: 8.035 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.8027, allocations: 1.188 MB / 1.566 GB, free: 6.836 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008154/0.8035, allocations: 495.9 kB / 1.567 GB, free: 6.348 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005119/0.8086, allocations: 5.011 MB / 1.572 GB, free: 1.312 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.8088, allocations: 305.1 kB / 1.572 GB, free: 1.012 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.8853/1.694, allocations: 38.68 MB / 1.61 GB, free: 288.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03941/1.734, allocations: 40.08 MB / 1.649 GB, free: 265 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03498/1.769, allocations: 47.95 MB / 1.696 GB, free: 218.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.785e-05/1.769, allocations: 4 kB / 1.696 GB, free: 218.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.07758/1.846, allocations: 91.43 MB / 1.785 GB, free: 128.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/1.846, allocations: 201.6 kB / 1.785 GB, free: 128.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.735e-05/1.846, allocations: 20 kB / 1.785 GB, free: 128.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006584/1.847, allocations: 112.6 kB / 1.785 GB, free: 128.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/1.85, allocations: 0.6236 MB / 1.786 GB, free: 127.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/1.852, allocations: 1.562 MB / 1.787 GB, free: 125.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/1.855, allocations: 376.2 kB / 1.788 GB, free: 125.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005405/1.856, allocations: 150.6 kB / 1.788 GB, free: 125.6 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.002677/1.858, allocations: 2.515 MB / 1.79 GB, free: 123.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007121/1.859, allocations: 272.2 kB / 1.791 GB, free: 123 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/1.864, allocations: 3.496 MB / 1.794 GB, free: 119.5 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.864, allocations: 12 kB / 1.794 GB, free: 119.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.864, allocations: 7.938 kB / 1.794 GB, free: 119.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/1.864, allocations: 7.969 kB / 1.794 GB, free: 119.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/1.867, allocations: 2.058 MB / 1.796 GB, free: 117.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/1.867, allocations: 0 / 1.796 GB, free: 117.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008929/1.868, allocations: 208.6 kB / 1.796 GB, free: 117.2 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/1.868, allocations: 72.78 kB / 1.796 GB, free: 117.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/1.869, allocations: 39.98 kB / 1.796 GB, free: 117.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/1.87, allocations: 1.566 MB / 1.798 GB, free: 115.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.87, allocations: 0 / 1.798 GB, free: 115.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004581/1.875, allocations: 3.367 MB / 1.801 GB, free: 112.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.876, allocations: 499.3 kB / 1.802 GB, free: 111.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004025/1.876, allocations: 32 kB / 1.802 GB, free: 111.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.877, allocations: 87.91 kB / 1.802 GB, free: 111.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002613/1.878, allocations: 105.1 kB / 1.802 GB, free: 111.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.878, allocations: 75.89 kB / 1.802 GB, free: 111.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008927/1.887, allocations: 12.79 MB / 1.814 GB, free: 98.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.71e-07/1.887, allocations: 0 / 1.814 GB, free: 98.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.005252/1.892, allocations: 1.8 MB / 1.816 GB, free: 96.9 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.003607/1.896, allocations: 1.02 MB / 1.817 GB, free: 96.15 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.03035/1.926, allocations: 41.27 MB / 1.857 GB, free: 54.86 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.926, allocations: 0 / 1.857 GB, free: 54.86 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002627/1.929, allocations: 1.883 MB / 1.859 GB, free: 52.95 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/1.931, allocations: 494.8 kB / 1.86 GB, free: 52.49 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/1.955, allocations: 19.78 MB / 1.879 GB, free: 32.67 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005454/1.96, allocations: 4.642 MB / 1.884 GB, free: 28 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00217/1.963, allocations: 0.6487 MB / 1.884 GB, free: 27.35 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006293/1.963, allocations: 219.4 kB / 1.884 GB, free: 27.13 MB / 1.295 GB Notification: Performance of SimCode: time 1.543e-06/1.963, allocations: 0 / 1.884 GB, free: 27.13 MB / 1.295 GB Notification: Performance of Templates: time 0.1229/2.086, allocations: 64.28 MB / 1.947 GB, free: 11.12 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.593339936807752]