Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001434, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 191.7 kB / 16.13 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.2 MB / 0.6642 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6772/0.6786, allocations: 140.4 MB / 0.9489 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005379/0.684, allocations: 5.253 MB / 0.954 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1554/0.8394, allocations: 149.1 MB / 1.1 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/0.8414, allocations: 15.94 kB / 1.1 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.8427, allocations: 154.8 kB / 1.1 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.8454, allocations: 0.5271 MB / 1.1 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.8479, allocations: 0.8634 MB / 1.101 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00226/0.8502, allocations: 1.839 MB / 1.103 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.8516, allocations: 0.8807 MB / 1.104 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009681/0.8525, allocations: 0.5914 MB / 1.104 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009968/0.8535, allocations: 0.7247 MB / 1.105 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003393/0.8539, allocations: 92 kB / 1.105 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.8552, allocations: 0.5542 MB / 1.106 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004297/0.8557, allocations: 378.6 kB / 1.106 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009342/0.8566, allocations: 0.7226 MB / 1.107 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.8591, allocations: 2.282 MB / 1.109 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.8591, allocations: 0 / 1.109 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8591, allocations: 3.938 kB / 1.109 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.119e-05/0.8592, allocations: 0 / 1.109 GB, free: 13.48 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004475/0.8637, allocations: 1.883 MB / 1.111 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8638, allocations: 8.031 kB / 1.111 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009538/0.8733, allocations: 1.286 MB / 1.112 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.8756, allocations: 1.036 MB / 1.113 GB, free: 9.156 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.8758, allocations: 98.67 kB / 1.113 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004787/0.8762, allocations: 128 kB / 1.113 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006354/0.8826, allocations: 2.213 MB / 1.116 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.8827, allocations: 3.938 kB / 1.116 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.8829, allocations: 56 kB / 1.116 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.883, allocations: 32 kB / 1.116 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008265/0.8912, allocations: 2.968 MB / 1.119 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01154/0.9028, allocations: 5.076 MB / 1.124 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008047/0.9109, allocations: 2.872 MB / 1.126 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/0.9142, allocations: 1.134 MB / 1.127 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005874/0.9148, allocations: 0.6066 MB / 1.128 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003911/0.9187, allocations: 1.442 MB / 1.129 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 4.007e-06/0.9187, allocations: 0 / 1.129 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01148/0.9302, allocations: 3.621 MB / 1.133 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.9304, allocations: 197.2 kB / 1.133 GB, free: 4.34 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.9319, allocations: 0.8138 MB / 1.134 GB, free: 3.512 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.9321, allocations: 57.62 kB / 1.134 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.9328, allocations: 0.5161 MB / 1.134 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004968/0.9333, allocations: 441.7 kB / 1.135 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005977/0.9339, allocations: 266.7 kB / 1.135 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.934, allocations: 353.9 kB / 1.136 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/0.9372, allocations: 1.049 MB / 1.137 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003384/0.9406, allocations: 1.187 MB / 1.138 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006104/0.9468, allocations: 2.06 MB / 1.14 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.9468, allocations: 3.938 kB / 1.14 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007443/0.9542, allocations: 2.475 MB / 1.142 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.9543, allocations: 4 kB / 1.142 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.9543, allocations: 0 / 1.142 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/0.9549, allocations: 84.84 kB / 1.142 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.9575, allocations: 439.3 kB / 1.143 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.9596, allocations: 1.532 MB / 1.144 GB, free: 8.855 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.962, allocations: 290.7 kB / 1.144 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.9622, allocations: 67.92 kB / 1.144 GB, free: 8.504 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (151): * Single equations (assignments): 150 * 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.0008169/0.9631, allocations: 351.8 kB / 1.145 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/0.9635, allocations: 114.6 kB / 1.145 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008567/0.9721, allocations: 2.883 MB / 1.148 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.9721, allocations: 16 kB / 1.148 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.9721, allocations: 0 / 1.148 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.9721, allocations: 3.984 kB / 1.148 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.9746, allocations: 1.816 MB / 1.15 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.9746, allocations: 0 / 1.15 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/0.977, allocations: 415.3 kB / 1.15 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005757/0.9776, allocations: 80.77 kB / 1.15 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/0.9778, allocations: 55.94 kB / 1.15 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.98, allocations: 1.548 MB / 1.152 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.98, allocations: 0 / 1.152 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007962/0.988, allocations: 2.592 MB / 1.154 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.989, allocations: 459.1 kB / 1.155 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/0.9894, allocations: 39.86 kB / 1.155 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.9915, allocations: 228.9 kB / 1.155 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.9918, allocations: 105.2 kB / 1.155 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/0.992, allocations: 59.94 kB / 1.155 GB, free: 13.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000927/0.9929, allocations: 0.5849 MB / 1.156 GB, free: 12.94 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.91e-07/0.9929, allocations: 3.938 kB / 1.156 GB, free: 12.93 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001538/0.9945, allocations: 0.4911 MB / 1.156 GB, free: 12.44 MB / 0.92 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * 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.001673/0.9961, allocations: 0.6376 MB / 1.157 GB, free: 11.97 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00724/1.003, allocations: 2.523 MB / 1.159 GB, free: 9.434 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.003, allocations: 3.984 kB / 1.159 GB, free: 9.43 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003741/1.007, allocations: 1.396 MB / 1.16 GB, free: 8.023 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.009, allocations: 304.8 kB / 1.161 GB, free: 7.734 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008305/1.017, allocations: 3.759 MB / 1.164 GB, free: 3.949 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009494/1.018, allocations: 1.191 MB / 1.166 GB, free: 2.727 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002029/1.02, allocations: 489.4 kB / 1.166 GB, free: 2.246 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007452/1.021, allocations: 167.3 kB / 1.166 GB, free: 2.082 MB / 0.92 GB Notification: Performance of SimCode: time 5.91e-07/1.021, allocations: 0 / 1.166 GB, free: 2.082 MB / 0.92 GB Notification: Performance of Templates: time 0.04008/1.061, allocations: 22.68 MB / 1.188 GB, free: 11.56 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches