Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.001417/0.001417, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001502/0.001502, allocations: 158.5 kB / 22.46 MB, free: 5.375 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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 2.926/2.926, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.459e-05, allocations: 5.656 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007591/0.007616, allocations: 5.265 MB / 1.005 GB, free: 2 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8266/0.8342, allocations: 133.4 MB / 1.136 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.8353, allocations: 26.56 kB / 1.136 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.8359, allocations: 225.2 kB / 1.136 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.8378, allocations: 0.7033 MB / 1.136 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.8398, allocations: 1.009 MB / 1.137 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.8415, allocations: 2.01 MB / 1.139 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000731/0.8422, allocations: 0.4985 MB / 1.14 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.8434, allocations: 1.036 MB / 1.141 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007226/0.8441, allocations: 0.6073 MB / 1.142 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.8443, allocations: 171.3 kB / 1.142 GB, free: 45.03 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.8454, allocations: 0.6612 MB / 1.142 GB, free: 45.01 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003838/0.8458, allocations: 466.5 kB / 1.143 GB, free: 45.01 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005427/0.8464, allocations: 0.5492 MB / 1.143 GB, free: 45.01 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.8486, allocations: 2.453 MB / 1.146 GB, free: 44.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8486, allocations: 1.062 kB / 1.146 GB, free: 44.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8486, allocations: 0 / 1.146 GB, free: 44.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.8486, allocations: 0 / 1.146 GB, free: 44.79 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.003074/0.8517, allocations: 1.827 MB / 1.147 GB, free: 43.89 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.8517, allocations: 8.406 kB / 1.147 GB, free: 43.89 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/0.8687, allocations: 1.995 MB / 1.149 GB, free: 43.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.8704, allocations: 0.9534 MB / 1.15 GB, free: 43.51 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/0.8704, allocations: 99.23 kB / 1.15 GB, free: 43.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/0.8707, allocations: 128.4 kB / 1.151 GB, free: 43.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006997/0.8777, allocations: 2.607 MB / 1.153 GB, free: 43.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.8777, allocations: 1.312 kB / 1.153 GB, free: 43.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.8779, allocations: 52.59 kB / 1.153 GB, free: 43.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.8779, allocations: 28.12 kB / 1.153 GB, free: 43.02 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.889, allocations: 3.18 MB / 1.156 GB, free: 42.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009558/0.8986, allocations: 4.212 MB / 1.16 GB, free: 41.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01417/0.9128, allocations: 3.283 MB / 1.164 GB, free: 41.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006394/0.9192, allocations: 1.247 MB / 1.165 GB, free: 41.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004001/0.9196, allocations: 85.58 kB / 1.165 GB, free: 41.79 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006342/0.9259, allocations: 1.752 MB / 1.167 GB, free: 41.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=142): time 4.107e-06/0.9259, allocations: 0 / 1.167 GB, free: 41.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=142): time 0.0189/0.9448, allocations: 4.017 MB / 1.171 GB, free: 41.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.9449, allocations: 209.7 kB / 1.171 GB, free: 41.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.9462, allocations: 0.7012 MB / 1.171 GB, free: 40.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.9464, allocations: 57.02 kB / 1.172 GB, free: 40.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/0.9469, allocations: 0.4925 MB / 1.172 GB, free: 40.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/0.9473, allocations: 477 kB / 1.172 GB, free: 40.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/0.948, allocations: 302.8 kB / 1.173 GB, free: 40.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.9482, allocations: 414.6 kB / 1.173 GB, free: 40.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005656/0.9538, allocations: 1.232 MB / 1.174 GB, free: 40.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005923/0.9598, allocations: 1.526 MB / 1.176 GB, free: 39.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/0.9706, allocations: 2.354 MB / 1.178 GB, free: 39.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.9706, allocations: 0 / 1.178 GB, free: 39.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01285/0.9834, allocations: 2.843 MB / 1.181 GB, free: 39.46 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.9835, allocations: 5.938 kB / 1.181 GB, free: 39.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.9835, allocations: 8.25 kB / 1.181 GB, free: 39.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006973/0.9842, allocations: 83.09 kB / 1.181 GB, free: 39.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003819/0.988, allocations: 0.5259 MB / 1.182 GB, free: 39.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/0.9901, allocations: 1.521 MB / 1.183 GB, free: 38.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/0.9937, allocations: 364.5 kB / 1.183 GB, free: 38.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/0.9939, allocations: 75.55 kB / 1.183 GB, free: 38.14 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.k,$PRE.incAng.decAng.k,incAng.decAng.tNext,$PRE.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 (166): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * 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.001028/0.9949, allocations: 351.2 kB / 1.184 GB, free: 38.02 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003579/0.9953, allocations: 114.8 kB / 1.184 GB, free: 37.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.01, allocations: 3.335 MB / 1.187 GB, free: 37.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.845e-05/1.01, allocations: 14.95 kB / 1.187 GB, free: 37.67 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/1.01, allocations: 9.375 kB / 1.187 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.153e-05/1.01, allocations: 8.672 kB / 1.187 GB, free: 37.66 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01726/1.027, allocations: 4.714 MB / 1.192 GB, free: 36.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/1.027, allocations: 0 / 1.192 GB, free: 36.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003439/1.031, allocations: 0.4952 MB / 1.192 GB, free: 36.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/1.031, allocations: 81.89 kB / 1.192 GB, free: 35.99 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/1.032, allocations: 59.22 kB / 1.192 GB, free: 35.97 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/1.033, allocations: 1.537 MB / 1.194 GB, free: 34.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.033, allocations: 8.672 kB / 1.194 GB, free: 34.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.046, allocations: 2.955 MB / 1.197 GB, free: 33.7 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.047, allocations: 366.2 kB / 1.197 GB, free: 33.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/1.047, allocations: 39.45 kB / 1.197 GB, free: 33.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003069/1.05, allocations: 313.7 kB / 1.197 GB, free: 33.46 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/1.051, allocations: 103.5 kB / 1.198 GB, free: 33.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.051, allocations: 76.52 kB / 1.198 GB, free: 33.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007704/1.052, allocations: 0.4958 MB / 1.198 GB, free: 33.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.052, allocations: 0 / 1.198 GB, free: 33.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001782/1.053, allocations: 0.5179 MB / 1.199 GB, free: 33.08 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,incAng.decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,incAng.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002302/1.056, allocations: 0.6808 MB / 1.199 GB, free: 32.85 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01208/1.068, allocations: 2.829 MB / 1.202 GB, free: 32.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.068, allocations: 1.094 kB / 1.202 GB, free: 32.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006058/1.074, allocations: 1.508 MB / 1.204 GB, free: 31.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/1.076, allocations: 328.3 kB / 1.204 GB, free: 31.58 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008643/1.084, allocations: 3.102 MB / 1.207 GB, free: 30.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/1.085, allocations: 0.5784 MB / 1.207 GB, free: 30.12 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002103/1.087, allocations: 0.5521 MB / 1.208 GB, free: 29.93 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009113/1.088, allocations: 182.7 kB / 1.208 GB, free: 29.9 MB / 1.076 GB Notification: Performance of SimCode: time 8.51e-07/1.088, allocations: 0 / 1.208 GB, free: 29.9 MB / 1.076 GB Notification: Performance of Templates: time 0.04018/1.128, allocations: 25.39 MB / 1.233 GB, free: 22.29 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.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.346821460872889]