Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001685/0.001685, allocations: 113 kB / 17.6 MB, free: 4.785 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.001957/0.001957, allocations: 186.8 kB / 20.78 MB, free: 1.617 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.454/1.454, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.786/2.786, allocations: 476.7 MB / 0.7629 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.89 kB / 1.107 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088/1.09, allocations: 168.7 MB / 1.272 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01015/1.101, allocations: 8.621 MB / 1.28 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2224/1.323, allocations: 160 MB / 1.437 GB, free: 10.04 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/1.326, allocations: 42 kB / 1.437 GB, free: 10.03 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.009718/1.336, allocations: 2.021 MB / 1.439 GB, free: 8.656 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0065/1.342, allocations: 1.273 MB / 1.44 GB, free: 7.684 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005229/1.347, allocations: 1.477 MB / 1.441 GB, free: 6.551 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008061/1.355, allocations: 5.362 MB / 1.447 GB, free: 1.832 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/1.357, allocations: 0.8136 MB / 1.447 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/1.361, allocations: 1.722 MB / 1.449 GB, free: 15.24 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/1.364, allocations: 1.666 MB / 1.451 GB, free: 13.57 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0007474/1.365, allocations: 288 kB / 1.451 GB, free: 13.29 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006305/1.371, allocations: 2.661 MB / 1.454 GB, free: 10.62 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.005133/1.376, allocations: 4.373 MB / 1.458 GB, free: 6.246 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002895/1.379, allocations: 1.718 MB / 1.46 GB, free: 4.52 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0122/1.391, allocations: 6.342 MB / 1.466 GB, free: 14.16 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.391, allocations: 0 / 1.466 GB, free: 14.16 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.384e-06/1.391, allocations: 0 / 1.466 GB, free: 14.16 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001422/1.391, allocations: 4 kB / 1.466 GB, free: 14.15 MB / 1.154 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.01017/1.402, allocations: 4.311 MB / 1.47 GB, free: 9.758 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.402, allocations: 12.03 kB / 1.47 GB, free: 9.746 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/1.403, allocations: 438.4 kB / 1.47 GB, free: 9.316 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01526/1.419, allocations: 12.36 MB / 1.482 GB, free: 12.89 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/1.419, allocations: 171.1 kB / 1.483 GB, free: 12.72 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004791/1.419, allocations: 236 kB / 1.483 GB, free: 12.49 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/1.424, allocations: 2.377 MB / 1.485 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/1.424, allocations: 7.938 kB / 1.485 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/1.424, allocations: 68 kB / 1.485 GB, free: 9.977 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/1.424, allocations: 40 kB / 1.485 GB, free: 9.938 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004518/1.429, allocations: 2.452 MB / 1.488 GB, free: 7.48 MB / 1.17 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0246/1.453, allocations: 15.5 MB / 1.503 GB, free: 7.742 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/1.457, allocations: 1.675 MB / 1.504 GB, free: 6.07 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/1.459, allocations: 0.9883 MB / 1.505 GB, free: 5.078 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/1.459, allocations: 41.09 kB / 1.505 GB, free: 5.035 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/1.461, allocations: 1.365 MB / 1.507 GB, free: 3.656 MB / 1.186 GB Notification: Performance of pre-optimization done (n=138): time 2.886e-06/1.461, allocations: 0 / 1.507 GB, free: 3.656 MB / 1.186 GB Notification: Performance of matching and sorting (n=138): time 0.007959/1.469, allocations: 3.825 MB / 1.511 GB, free: 15.79 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003307/1.469, allocations: 366.5 kB / 1.511 GB, free: 15.38 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03485/1.504, allocations: 20.6 MB / 1.531 GB, free: 10.76 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0007968/1.505, allocations: 89.69 kB / 1.531 GB, free: 10.66 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001812/1.507, allocations: 1.18 MB / 1.532 GB, free: 9.473 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007972/1.507, allocations: 487.9 kB / 1.533 GB, free: 8.992 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004947/1.512, allocations: 5.019 MB / 1.538 GB, free: 3.949 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.512, allocations: 301.1 kB / 1.538 GB, free: 3.652 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04002/1.553, allocations: 38.68 MB / 1.576 GB, free: 12.96 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04418/1.597, allocations: 40.08 MB / 1.615 GB, free: 4.617 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05349/1.65, allocations: 47.73 MB / 1.661 GB, free: 4.41 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.713e-05/1.65, allocations: 4 kB / 1.661 GB, free: 4.406 MB / 1.342 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1052/1.755, allocations: 91 MB / 1.75 GB, free: 9 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002968/1.756, allocations: 209.6 kB / 1.75 GB, free: 8.789 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.296e-05/1.756, allocations: 16 kB / 1.75 GB, free: 8.773 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006831/1.756, allocations: 112.9 kB / 1.751 GB, free: 8.66 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/1.759, allocations: 0.6084 MB / 1.751 GB, free: 8.051 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/1.762, allocations: 1.676 MB / 1.753 GB, free: 6.234 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/1.765, allocations: 385.1 kB / 1.753 GB, free: 5.855 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004435/1.765, allocations: 148 kB / 1.753 GB, free: 5.711 MB / 1.436 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.00344/1.769, allocations: 2.509 MB / 1.756 GB, free: 3.188 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006706/1.769, allocations: 270.1 kB / 1.756 GB, free: 2.922 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006212/1.776, allocations: 3.501 MB / 1.759 GB, free: 15.4 MB / 1.451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/1.776, allocations: 16 kB / 1.759 GB, free: 15.38 MB / 1.451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.776, allocations: 3.984 kB / 1.759 GB, free: 15.38 MB / 1.451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.776, allocations: 7.984 kB / 1.759 GB, free: 15.37 MB / 1.451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003718/1.779, allocations: 2.073 MB / 1.762 GB, free: 13.24 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.779, allocations: 0 / 1.762 GB, free: 13.24 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/1.78, allocations: 211.6 kB / 1.762 GB, free: 13.03 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/1.781, allocations: 76.78 kB / 1.762 GB, free: 12.95 MB / 1.451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/1.781, allocations: 47.89 kB / 1.762 GB, free: 12.91 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/1.783, allocations: 1.658 MB / 1.763 GB, free: 11.11 MB / 1.451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.783, allocations: 3.938 kB / 1.763 GB, free: 11.1 MB / 1.451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005784/1.789, allocations: 3.358 MB / 1.767 GB, free: 7.715 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/1.79, allocations: 0.5612 MB / 1.767 GB, free: 7.133 MB / 1.451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/1.791, allocations: 31.95 kB / 1.767 GB, free: 7.102 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.792, allocations: 101.7 kB / 1.767 GB, free: 7.004 MB / 1.451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/1.792, allocations: 93.19 kB / 1.767 GB, free: 6.91 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/1.792, allocations: 75.89 kB / 1.768 GB, free: 6.836 MB / 1.451 GB Notification: Performance of sorting global known variables: time 0.01322/1.805, allocations: 12.79 MB / 1.78 GB, free: 10.04 MB / 1.467 GB Notification: Performance of sort global known variables: time 3.21e-07/1.805, allocations: 0 / 1.78 GB, free: 10.04 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.00671/1.812, allocations: 1.802 MB / 1.782 GB, free: 8.238 MB / 1.467 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.003745/1.816, allocations: 1.017 MB / 1.783 GB, free: 7.395 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.04574/1.862, allocations: 41.27 MB / 1.823 GB, free: 14.09 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.862, allocations: 4.375 kB / 1.823 GB, free: 14.09 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.003319/1.865, allocations: 1.876 MB / 1.825 GB, free: 12.19 MB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/1.868, allocations: 494.8 kB / 1.825 GB, free: 11.73 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02918/1.897, allocations: 19.8 MB / 1.845 GB, free: 7.871 MB / 1.529 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005777/1.903, allocations: 4.638 MB / 1.849 GB, free: 3.203 MB / 1.529 GB Notification: Performance of simCode: alias equations: time 0.002053/1.905, allocations: 0.6449 MB / 1.85 GB, free: 2.555 MB / 1.529 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006263/1.905, allocations: 215.4 kB / 1.85 GB, free: 2.344 MB / 1.529 GB Notification: Performance of SimCode: time 1.262e-06/1.905, allocations: 0 / 1.85 GB, free: 2.344 MB / 1.529 GB Notification: Performance of Templates: time 0.8562/2.761, allocations: 63.86 MB / 1.912 GB, free: 0.5 GB / 1.529 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.266129011288285]