Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.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.001781/0.001781, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002082/0.002082, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.535/1.535, allocations: 177.1 MB / 202.8 MB, free: 9.172 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 3.012/3.012, allocations: 389 MB / 0.633 GB, free: 1.023 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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 1 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.167e-05, allocations: 2.281 kB / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.008465/0.008497, allocations: 5.606 MB / 1.006 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8678/0.8763, allocations: 133.6 MB / 1.136 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.8774, allocations: 26.97 kB / 1.136 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.8781, allocations: 244.2 kB / 1.136 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.8803, allocations: 0.7347 MB / 1.137 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.8825, allocations: 1.037 MB / 1.138 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002313/0.8848, allocations: 2.173 MB / 1.14 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008826/0.8857, allocations: 0.5531 MB / 1.141 GB, free: 45.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.8873, allocations: 1.144 MB / 1.142 GB, free: 45.01 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008295/0.8881, allocations: 0.6537 MB / 1.142 GB, free: 45.01 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.8884, allocations: 203.1 kB / 1.143 GB, free: 45.01 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.8898, allocations: 0.6823 MB / 1.143 GB, free: 44.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004429/0.8902, allocations: 0.5033 MB / 1.144 GB, free: 44.99 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006758/0.8909, allocations: 0.6001 MB / 1.144 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003107/0.894, allocations: 2.72 MB / 1.147 GB, free: 44.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.894, allocations: 0.7188 kB / 1.147 GB, free: 44.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.894, allocations: 0.9375 kB / 1.147 GB, free: 44.68 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.596e-05/0.894, allocations: 0 / 1.147 GB, free: 44.68 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003721/0.8978, allocations: 1.939 MB / 1.149 GB, free: 43.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.8978, allocations: 10.5 kB / 1.149 GB, free: 43.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01751/0.9153, allocations: 1.992 MB / 1.151 GB, free: 43.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.9179, allocations: 1.031 MB / 1.152 GB, free: 43.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.918, allocations: 108 kB / 1.152 GB, free: 43.36 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.9183, allocations: 147.3 kB / 1.152 GB, free: 43.35 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007837/0.9261, allocations: 2.779 MB / 1.155 GB, free: 42.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.9261, allocations: 1.094 kB / 1.155 GB, free: 42.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002037/0.9263, allocations: 55.28 kB / 1.155 GB, free: 42.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.9263, allocations: 35.38 kB / 1.155 GB, free: 42.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.9384, allocations: 3.407 MB / 1.158 GB, free: 42.8 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.9504, allocations: 4.838 MB / 1.163 GB, free: 41.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01584/0.9662, allocations: 3.525 MB / 1.166 GB, free: 41.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006039/0.9722, allocations: 1.348 MB / 1.168 GB, free: 41.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004052/0.9726, allocations: 85.78 kB / 1.168 GB, free: 41.58 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006591/0.9792, allocations: 1.851 MB / 1.17 GB, free: 41.35 MB / 1.076 GB Notification: Performance of pre-optimization done (n=143): time 4.389e-06/0.9792, allocations: 4.109 kB / 1.17 GB, free: 41.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=143): time 0.01866/0.9979, allocations: 4.285 MB / 1.174 GB, free: 41.13 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.998, allocations: 208.7 kB / 1.174 GB, free: 40.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.9992, allocations: 0.7271 MB / 1.175 GB, free: 40.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002881/0.9995, allocations: 59.66 kB / 1.175 GB, free: 40.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004822/1, allocations: 0.5307 MB / 1.175 GB, free: 40.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/1, allocations: 480.1 kB / 1.176 GB, free: 40.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007022/1.001, allocations: 302.9 kB / 1.176 GB, free: 40.15 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000186/1.001, allocations: 417.5 kB / 1.176 GB, free: 39.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006006/1.007, allocations: 1.331 MB / 1.178 GB, free: 39.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007001/1.014, allocations: 1.621 MB / 1.179 GB, free: 39.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.026, allocations: 2.504 MB / 1.182 GB, free: 39.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.026, allocations: 4 kB / 1.182 GB, free: 39.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.01368/1.04, allocations: 3.016 MB / 1.185 GB, free: 38.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/1.04, allocations: 6.156 kB / 1.185 GB, free: 38.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.04, allocations: 1.438 kB / 1.185 GB, free: 38.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007136/1.04, allocations: 89.73 kB / 1.185 GB, free: 38.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003933/1.044, allocations: 0.5322 MB / 1.185 GB, free: 38.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/1.046, allocations: 1.518 MB / 1.187 GB, free: 36.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.05, allocations: 368.7 kB / 1.187 GB, free: 36.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004164/1.05, allocations: 76.66 kB / 1.187 GB, free: 36.64 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,HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (167): * Single equations (assignments): 166 * 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.001341/1.052, allocations: 375.7 kB / 1.188 GB, free: 36.4 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006502/1.052, allocations: 112.4 kB / 1.188 GB, free: 36.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01547/1.068, allocations: 3.505 MB / 1.191 GB, free: 35.23 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/1.068, allocations: 14.69 kB / 1.191 GB, free: 35.23 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.068, allocations: 1.75 kB / 1.191 GB, free: 35.23 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/1.068, allocations: 11.67 kB / 1.191 GB, free: 35.23 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/1.086, allocations: 5.14 MB / 1.196 GB, free: 33.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.086, allocations: 4.391 kB / 1.196 GB, free: 33.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003785/1.09, allocations: 0.5053 MB / 1.197 GB, free: 33.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005018/1.09, allocations: 75.77 kB / 1.197 GB, free: 33.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003493/1.091, allocations: 57.61 kB / 1.197 GB, free: 33.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/1.093, allocations: 1.547 MB / 1.198 GB, free: 31.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.093, allocations: 0 / 1.198 GB, free: 31.77 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01344/1.106, allocations: 3.127 MB / 1.201 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.107, allocations: 408.8 kB / 1.202 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006037/1.108, allocations: 41.52 kB / 1.202 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003407/1.111, allocations: 315.3 kB / 1.202 GB, free: 30.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/1.112, allocations: 107.6 kB / 1.202 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002523/1.112, allocations: 73.23 kB / 1.202 GB, free: 30.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009789/1.113, allocations: 0.515 MB / 1.203 GB, free: 30.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.113, allocations: 0 / 1.203 GB, free: 30.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002136/1.115, allocations: 0.539 MB / 1.203 GB, free: 30.09 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,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,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,weaDat.conTimMin.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 142 * 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.002547/1.118, allocations: 0.7036 MB / 1.204 GB, free: 29.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01278/1.13, allocations: 3.017 MB / 1.207 GB, free: 28.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.13, allocations: 2.031 kB / 1.207 GB, free: 28.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.006627/1.137, allocations: 1.604 MB / 1.209 GB, free: 28.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/1.14, allocations: 336 kB / 1.209 GB, free: 28.36 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/1.15, allocations: 3.323 MB / 1.212 GB, free: 26.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008704/1.151, allocations: 0.6111 MB / 1.213 GB, free: 26.75 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003036/1.154, allocations: 0.5497 MB / 1.213 GB, free: 26.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.155, allocations: 188.7 kB / 1.213 GB, free: 26.53 MB / 1.076 GB Notification: Performance of SimCode: time 1.262e-06/1.155, allocations: 0 / 1.213 GB, free: 26.53 MB / 1.076 GB Notification: Performance of Templates: time 0.04259/1.198, allocations: 26.54 MB / 1.239 GB, free: 17.96 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.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.6797616481781]