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.001401/0.001401, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001486/0.001486, allocations: 217.9 kB / 22.3 MB, free: 5.281 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.706/1.706, allocations: 230.6 MB / 256.1 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] 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 3.487/3.487, allocations: 0.5107 GB / 0.8159 GB, free: 17.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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: 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.002155/0.002155, allocations: 69.3 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4043, allocations: 181.9 MB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01171/0.416, allocations: 7.55 MB / 1.371 GB, free: 5.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2169/0.633, allocations: 140.7 MB / 1.509 GB, free: 8.617 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.6351, allocations: 47.62 kB / 1.509 GB, free: 8.57 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006498/0.6416, allocations: 2.089 MB / 1.511 GB, free: 6.473 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.6466, allocations: 1.293 MB / 1.512 GB, free: 5.18 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.6511, allocations: 1.509 MB / 1.514 GB, free: 3.676 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.007991/0.6591, allocations: 5.68 MB / 1.519 GB, free: 13.98 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.6609, allocations: 0.787 MB / 1.52 GB, free: 13.15 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003591/0.6645, allocations: 1.773 MB / 1.522 GB, free: 11.37 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003358/0.6678, allocations: 1.588 MB / 1.523 GB, free: 9.777 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.00087/0.6687, allocations: 296 kB / 1.524 GB, free: 9.488 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005992/0.6747, allocations: 2.816 MB / 1.526 GB, free: 6.668 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.004958/0.6797, allocations: 4.366 MB / 1.531 GB, free: 2.297 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002674/0.6823, allocations: 1.384 MB / 1.532 GB, free: 0.9062 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.6942, allocations: 6.435 MB / 1.538 GB, free: 10.45 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.6942, allocations: 8 kB / 1.538 GB, free: 10.44 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6942, allocations: 4 kB / 1.538 GB, free: 10.44 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001596/0.6944, allocations: 0 / 1.538 GB, free: 10.44 MB / 1.232 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.01091/0.7053, allocations: 4.239 MB / 1.542 GB, free: 6.133 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.7053, allocations: 8.031 kB / 1.542 GB, free: 6.125 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/0.7081, allocations: 0.5023 MB / 1.543 GB, free: 5.621 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01641/0.7245, allocations: 12.31 MB / 1.555 GB, free: 9.238 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.7247, allocations: 175 kB / 1.555 GB, free: 9.066 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005825/0.7253, allocations: 236 kB / 1.555 GB, free: 8.836 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004845/0.7302, allocations: 2.781 MB / 1.558 GB, free: 5.871 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/0.7302, allocations: 0 / 1.558 GB, free: 5.871 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.7304, allocations: 72 kB / 1.558 GB, free: 5.801 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.7304, allocations: 36 kB / 1.558 GB, free: 5.766 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/0.7346, allocations: 2.34 MB / 1.56 GB, free: 3.414 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02335/0.758, allocations: 14.11 MB / 1.574 GB, free: 5.191 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/0.7616, allocations: 1.582 MB / 1.576 GB, free: 3.602 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.7632, allocations: 0.908 MB / 1.577 GB, free: 2.684 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.7633, allocations: 32.97 kB / 1.577 GB, free: 2.652 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002356/0.7657, allocations: 1.587 MB / 1.578 GB, free: 0.9688 MB / 1.264 GB Notification: Performance of pre-optimization done (n=138): time 3.316e-06/0.7657, allocations: 0 / 1.578 GB, free: 0.9688 MB / 1.264 GB Notification: Performance of matching and sorting (n=138): time 0.007501/0.7732, allocations: 3.382 MB / 1.581 GB, free: 13.56 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002851/0.7735, allocations: 338.5 kB / 1.582 GB, free: 13.18 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03458/0.8081, allocations: 20.55 MB / 1.602 GB, free: 8.605 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0006457/0.8087, allocations: 81.7 kB / 1.602 GB, free: 8.52 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001874/0.8106, allocations: 1.195 MB / 1.603 GB, free: 7.312 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008265/0.8114, allocations: 495.9 kB / 1.604 GB, free: 6.824 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005673/0.8171, allocations: 5.015 MB / 1.608 GB, free: 1.785 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.8173, allocations: 309.1 kB / 1.609 GB, free: 1.48 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.8447/1.662, allocations: 38.6 MB / 1.646 GB, free: 226.1 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02833/1.69, allocations: 40.12 MB / 1.686 GB, free: 188.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03397/1.724, allocations: 47.47 MB / 1.732 GB, free: 143 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.756e-05/1.724, allocations: 7.844 kB / 1.732 GB, free: 143 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.07154/1.796, allocations: 91.11 MB / 1.821 GB, free: 53.32 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002761/1.796, allocations: 176.8 kB / 1.821 GB, free: 53.14 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.853e-05/1.796, allocations: 20 kB / 1.821 GB, free: 53.12 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006613/1.797, allocations: 110.9 kB / 1.821 GB, free: 53.02 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/1.8, allocations: 0.62 MB / 1.822 GB, free: 52.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/1.802, allocations: 1.535 MB / 1.823 GB, free: 50.77 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/1.805, allocations: 366.6 kB / 1.824 GB, free: 50.61 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004531/1.805, allocations: 159.3 kB / 1.824 GB, free: 50.46 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.002264/1.807, allocations: 2.482 MB / 1.826 GB, free: 47.98 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005641/1.808, allocations: 270.6 kB / 1.827 GB, free: 47.87 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004194/1.812, allocations: 3.013 MB / 1.829 GB, free: 44.89 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/1.812, allocations: 12 kB / 1.829 GB, free: 44.88 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.812, allocations: 0 / 1.829 GB, free: 44.88 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.812, allocations: 7.922 kB / 1.829 GB, free: 44.87 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.814, allocations: 1.563 MB / 1.831 GB, free: 43.35 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.814, allocations: 0 / 1.831 GB, free: 43.35 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008507/1.815, allocations: 207.7 kB / 1.831 GB, free: 43.14 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/1.816, allocations: 72.66 kB / 1.831 GB, free: 43.07 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-05/1.816, allocations: 47.97 kB / 1.831 GB, free: 43.03 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/1.817, allocations: 1.527 MB / 1.833 GB, free: 41.41 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.817, allocations: 0 / 1.833 GB, free: 41.41 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/1.821, allocations: 2.871 MB / 1.836 GB, free: 38.61 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009789/1.822, allocations: 487.1 kB / 1.836 GB, free: 38.16 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003311/1.822, allocations: 35.95 kB / 1.836 GB, free: 38.12 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009891/1.823, allocations: 90.25 kB / 1.836 GB, free: 38.04 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/1.824, allocations: 105.1 kB / 1.836 GB, free: 37.93 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.824, allocations: 63.97 kB / 1.836 GB, free: 37.87 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.007432/1.831, allocations: 12.75 MB / 1.849 GB, free: 25.11 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.831, allocations: 7.625 kB / 1.849 GB, free: 25.11 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004258/1.835, allocations: 1.813 MB / 1.851 GB, free: 23.44 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.003129/1.839, allocations: 1.046 MB / 1.852 GB, free: 22.79 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.03607/1.875, allocations: 40.96 MB / 1.892 GB, free: 13.85 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/1.875, allocations: 7.938 kB / 1.892 GB, free: 13.84 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.00289/1.877, allocations: 1.61 MB / 1.893 GB, free: 12.2 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/1.88, allocations: 483.3 kB / 1.894 GB, free: 11.75 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02774/1.908, allocations: 20.23 MB / 1.913 GB, free: 7.469 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005749/1.913, allocations: 4.155 MB / 1.917 GB, free: 3.289 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.002145/1.915, allocations: 0.6399 MB / 1.918 GB, free: 2.645 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000621/1.916, allocations: 224.4 kB / 1.918 GB, free: 2.426 MB / 1.342 GB Notification: Performance of SimCode: time 9.31e-07/1.916, allocations: 0 / 1.918 GB, free: 2.426 MB / 1.342 GB Notification: Performance of Templates: time 0.1194/2.035, allocations: 61.68 MB / 1.979 GB, free: 5.109 MB / 1.404 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: 13.077960347756743]