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.001619/0.001619, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002073/0.002073, allocations: 214.7 kB / 23 MB, free: 4.957 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.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.268/3.268, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002109/0.002109, allocations: 70.69 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.384, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01554/0.3995, allocations: 7.552 MB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1915/0.591, allocations: 140.7 MB / 1.472 GB, free: 12.19 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.5925, allocations: 55.56 kB / 1.472 GB, free: 12.13 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005123/0.5976, allocations: 2.147 MB / 1.474 GB, free: 9.977 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003622/0.6013, allocations: 1.291 MB / 1.475 GB, free: 8.684 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/0.6051, allocations: 1.534 MB / 1.477 GB, free: 7.156 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006986/0.6121, allocations: 5.769 MB / 1.482 GB, free: 1.375 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.6138, allocations: 0.8143 MB / 1.483 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004053/0.6178, allocations: 1.769 MB / 1.485 GB, free: 14.74 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004206/0.622, allocations: 1.689 MB / 1.487 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0009207/0.623, allocations: 292 kB / 1.487 GB, free: 12.76 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005636/0.6286, allocations: 3.035 MB / 1.49 GB, free: 9.719 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.004536/0.6331, allocations: 4.37 MB / 1.494 GB, free: 5.344 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002362/0.6355, allocations: 1.392 MB / 1.495 GB, free: 3.945 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.6465, allocations: 6.447 MB / 1.502 GB, free: 13.48 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.6465, allocations: 4 kB / 1.502 GB, free: 13.47 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6465, allocations: 0 / 1.502 GB, free: 13.47 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001237/0.6466, allocations: 0 / 1.502 GB, free: 13.47 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.008946/0.6556, allocations: 4.236 MB / 1.506 GB, free: 9.172 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.6556, allocations: 8.031 kB / 1.506 GB, free: 9.164 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.6582, allocations: 0.514 MB / 1.506 GB, free: 8.648 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01631/0.6745, allocations: 12.3 MB / 1.518 GB, free: 12.28 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.6747, allocations: 171.1 kB / 1.519 GB, free: 12.11 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005252/0.6752, allocations: 243.9 kB / 1.519 GB, free: 11.87 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/0.6796, allocations: 2.773 MB / 1.522 GB, free: 8.914 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.6796, allocations: 0 / 1.522 GB, free: 8.914 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.6798, allocations: 68 kB / 1.522 GB, free: 8.848 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.6798, allocations: 36 kB / 1.522 GB, free: 8.812 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.6836, allocations: 2.348 MB / 1.524 GB, free: 6.453 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02087/0.7045, allocations: 14.1 MB / 1.538 GB, free: 8.246 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/0.708, allocations: 1.59 MB / 1.539 GB, free: 6.645 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.7095, allocations: 0.9119 MB / 1.54 GB, free: 5.719 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 9.904e-05/0.7096, allocations: 32.92 kB / 1.54 GB, free: 5.688 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002242/0.7118, allocations: 1.586 MB / 1.542 GB, free: 4 MB / 1.232 GB Notification: Performance of pre-optimization done (n=138): time 3.546e-06/0.7118, allocations: 0 / 1.542 GB, free: 4 MB / 1.232 GB Notification: Performance of matching and sorting (n=138): time 0.007153/0.719, allocations: 3.382 MB / 1.545 GB, free: 0.5898 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002693/0.7192, allocations: 338.5 kB / 1.545 GB, free: 216 kB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03286/0.7521, allocations: 20.55 MB / 1.565 GB, free: 11.64 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0006304/0.7527, allocations: 85.7 kB / 1.565 GB, free: 11.55 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.7543, allocations: 1.192 MB / 1.567 GB, free: 10.34 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006509/0.7549, allocations: 499.8 kB / 1.567 GB, free: 9.852 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00473/0.7597, allocations: 5.007 MB / 1.572 GB, free: 4.82 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7598, allocations: 301.1 kB / 1.572 GB, free: 4.523 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.9047/1.664, allocations: 38.6 MB / 1.61 GB, free: 272.6 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03885/1.703, allocations: 40.13 MB / 1.649 GB, free: 252.7 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03129/1.735, allocations: 47.47 MB / 1.696 GB, free: 206.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.386e-05/1.735, allocations: 5.531 kB / 1.696 GB, free: 206.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06967/1.804, allocations: 91.11 MB / 1.784 GB, free: 117.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003209/1.805, allocations: 183.6 kB / 1.785 GB, free: 117.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.995e-05/1.805, allocations: 19.98 kB / 1.785 GB, free: 117.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008161/1.806, allocations: 109.4 kB / 1.785 GB, free: 117.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003163/1.809, allocations: 0.6123 MB / 1.785 GB, free: 116.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/1.811, allocations: 1.543 MB / 1.787 GB, free: 115 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003472/1.814, allocations: 367.5 kB / 1.787 GB, free: 114.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004538/1.815, allocations: 150.5 kB / 1.787 GB, free: 114.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.002412/1.817, allocations: 2.496 MB / 1.79 GB, free: 112.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005282/1.818, allocations: 266 kB / 1.79 GB, free: 112.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004449/1.822, allocations: 3.008 MB / 1.793 GB, free: 109.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/1.822, allocations: 12 kB / 1.793 GB, free: 109.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.822, allocations: 0 / 1.793 GB, free: 109.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/1.822, allocations: 13.88 kB / 1.793 GB, free: 109.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/1.824, allocations: 1.559 MB / 1.795 GB, free: 107.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.824, allocations: 3.781 kB / 1.795 GB, free: 107.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009051/1.825, allocations: 207.7 kB / 1.795 GB, free: 107.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004978/1.826, allocations: 72.67 kB / 1.795 GB, free: 107.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/1.826, allocations: 43.97 kB / 1.795 GB, free: 107.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/1.827, allocations: 1.533 MB / 1.796 GB, free: 105.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.827, allocations: 0 / 1.796 GB, free: 105.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/1.832, allocations: 2.871 MB / 1.799 GB, free: 102.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.833, allocations: 488.4 kB / 1.8 GB, free: 102.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004077/1.833, allocations: 31.95 kB / 1.8 GB, free: 102.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/1.834, allocations: 91.59 kB / 1.8 GB, free: 102.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/1.835, allocations: 105.1 kB / 1.8 GB, free: 102.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.835, allocations: 67.97 kB / 1.8 GB, free: 102.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.009109/1.844, allocations: 12.75 MB / 1.812 GB, free: 89.36 MB / 1.295 GB Notification: Performance of sort global known variables: time 5.91e-07/1.844, allocations: 0 / 1.812 GB, free: 89.36 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.006545/1.85, allocations: 1.816 MB / 1.814 GB, free: 87.69 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.00371/1.854, allocations: 1.044 MB / 1.815 GB, free: 87.04 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02918/1.883, allocations: 40.96 MB / 1.855 GB, free: 46.04 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.883, allocations: 192 / 1.855 GB, free: 46.04 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002213/1.885, allocations: 1.616 MB / 1.857 GB, free: 44.39 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.888, allocations: 478.9 kB / 1.857 GB, free: 43.95 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/1.909, allocations: 20.23 MB / 1.877 GB, free: 23.68 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004483/1.913, allocations: 4.164 MB / 1.881 GB, free: 19.48 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001898/1.915, allocations: 0.64 MB / 1.882 GB, free: 18.84 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/1.916, allocations: 223.4 kB / 1.882 GB, free: 18.62 MB / 1.295 GB Notification: Performance of SimCode: time 9.31e-07/1.916, allocations: 0 / 1.882 GB, free: 18.62 MB / 1.295 GB Notification: Performance of Templates: time 0.1237/2.039, allocations: 68.59 MB / 1.949 GB, free: 14.36 MB / 1.357 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 -s cvode -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/jenkins1/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.579900742988684]