Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.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.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.00821/0.00821, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.408/2.408, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003658, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6349/0.6353, allocations: 142.4 MB / 0.955 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005173/0.6405, allocations: 4.652 MB / 0.9596 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1776/0.8182, allocations: 146.9 MB / 1.103 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009832/0.8192, allocations: 19.94 kB / 1.103 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005995/0.8198, allocations: 154.8 kB / 1.103 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.8215, allocations: 0.4994 MB / 1.104 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.8239, allocations: 0.8544 MB / 1.105 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001863/0.8258, allocations: 1.746 MB / 1.106 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.8269, allocations: 0.7858 MB / 1.107 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007192/0.8276, allocations: 473.9 kB / 1.108 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000659/0.8283, allocations: 0.5674 MB / 1.108 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.8284, allocations: 43.94 kB / 1.108 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.8295, allocations: 495.5 kB / 1.109 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.8298, allocations: 302.7 kB / 1.109 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005381/0.8303, allocations: 0.6034 MB / 1.109 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.8323, allocations: 1.997 MB / 1.111 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8323, allocations: 0 / 1.111 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8323, allocations: 0 / 1.111 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.8323, allocations: 0 / 1.111 GB, free: 14.62 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.00301/0.8353, allocations: 1.507 MB / 1.113 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.8354, allocations: 12.03 kB / 1.113 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009938/0.8453, allocations: 1.56 MB / 1.114 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.8473, allocations: 0.9651 MB / 1.115 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.8474, allocations: 94.45 kB / 1.115 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.8476, allocations: 112 kB / 1.116 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005373/0.853, allocations: 2.163 MB / 1.118 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.853, allocations: 0 / 1.118 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.8532, allocations: 48 kB / 1.118 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.8532, allocations: 28 kB / 1.118 GB, free: 7.969 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00811/0.8614, allocations: 3.006 MB / 1.121 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008741/0.8701, allocations: 4.565 MB / 1.125 GB, free: 320 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008456/0.8786, allocations: 3.016 MB / 1.128 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003332/0.882, allocations: 1.159 MB / 1.129 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005714/0.8826, allocations: 0.6062 MB / 1.13 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003832/0.8864, allocations: 1.469 MB / 1.131 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 3.026e-06/0.8864, allocations: 0 / 1.131 GB, free: 9.875 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01186/0.8983, allocations: 3.73 MB / 1.135 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.8984, allocations: 193.2 kB / 1.135 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.8995, allocations: 0.7706 MB / 1.136 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.8997, allocations: 57.7 kB / 1.136 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.9001, allocations: 484.8 kB / 1.136 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003826/0.9004, allocations: 437.7 kB / 1.137 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.9007, allocations: 101.7 kB / 1.137 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.9008, allocations: 349.9 kB / 1.137 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003496/0.9043, allocations: 1.08 MB / 1.138 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/0.9079, allocations: 1.21 MB / 1.139 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006634/0.9145, allocations: 2.153 MB / 1.142 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.9145, allocations: 0 / 1.142 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007966/0.9225, allocations: 2.557 MB / 1.144 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.9226, allocations: 8 kB / 1.144 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.9226, allocations: 0 / 1.144 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.9232, allocations: 88.83 kB / 1.144 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/0.9258, allocations: 487.4 kB / 1.145 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.9279, allocations: 1.536 MB / 1.146 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.9304, allocations: 352.1 kB / 1.146 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.9306, allocations: 71.84 kB / 1.146 GB, free: 9.949 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,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,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 (150): * Single equations (assignments): 149 * 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.0007268/0.9313, allocations: 337.4 kB / 1.147 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.9315, allocations: 114.6 kB / 1.147 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008647/0.9402, allocations: 2.95 MB / 1.15 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.9402, allocations: 19.94 kB / 1.15 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.9402, allocations: 4 kB / 1.15 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.9403, allocations: 7.969 kB / 1.15 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.9508, allocations: 4.521 MB / 1.154 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.9509, allocations: 0 / 1.154 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/0.9533, allocations: 479.3 kB / 1.155 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/0.9539, allocations: 80.78 kB / 1.155 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.954, allocations: 51.94 kB / 1.155 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.9558, allocations: 1.563 MB / 1.156 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.9558, allocations: 3.938 kB / 1.156 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007792/0.9636, allocations: 2.71 MB / 1.159 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007337/0.9643, allocations: 446.9 kB / 1.159 GB, free: 12.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.9646, allocations: 28 kB / 1.159 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/0.9668, allocations: 303.7 kB / 1.16 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002234/0.967, allocations: 109 kB / 1.16 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.9672, allocations: 63.94 kB / 1.16 GB, free: 11.94 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007376/0.9679, allocations: 0.5576 MB / 1.16 GB, free: 11.39 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9679, allocations: 0 / 1.16 GB, free: 11.39 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001333/0.9693, allocations: 479.1 kB / 1.161 GB, free: 10.92 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * 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.001488/0.9708, allocations: 0.6479 MB / 1.162 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007586/0.9784, allocations: 2.574 MB / 1.164 GB, free: 7.855 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.9784, allocations: 7.875 kB / 1.164 GB, free: 7.848 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003825/0.9822, allocations: 1.427 MB / 1.165 GB, free: 6.41 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.9839, allocations: 301.8 kB / 1.166 GB, free: 6.125 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007822/0.9917, allocations: 3.668 MB / 1.169 GB, free: 2.434 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.9924, allocations: 1.159 MB / 1.17 GB, free: 1.238 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001775/0.9942, allocations: 485 kB / 1.171 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006108/0.9948, allocations: 159.3 kB / 1.171 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of SimCode: time 4.81e-07/0.9949, allocations: 4 kB / 1.171 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of Templates: time 0.03263/1.027, allocations: 21.46 MB / 1.192 GB, free: 11.29 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches