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.001416/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00189/0.00189, allocations: 193 kB / 16.14 MB, free: 6.719 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.332/2.332, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6603/0.6617, allocations: 140.4 MB / 0.9489 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.007505/0.6693, allocations: 5.097 MB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1733/0.8426, allocations: 148.9 MB / 1.099 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.8438, allocations: 19.94 kB / 1.099 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.8444, allocations: 154.8 kB / 1.099 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.8461, allocations: 0.5225 MB / 1.1 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.8481, allocations: 0.826 MB / 1.101 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001656/0.8498, allocations: 1.765 MB / 1.103 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.8509, allocations: 0.7858 MB / 1.103 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008949/0.8518, allocations: 0.5603 MB / 1.104 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007777/0.8526, allocations: 0.7 MB / 1.105 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.8528, allocations: 84 kB / 1.105 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.854, allocations: 0.5308 MB / 1.105 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.8544, allocations: 358.7 kB / 1.105 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006218/0.855, allocations: 0.672 MB / 1.106 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.8572, allocations: 2.056 MB / 1.108 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.8572, allocations: 0 / 1.108 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.72e-07/0.8572, allocations: 0 / 1.108 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.8572, allocations: 0 / 1.108 GB, free: 14.47 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.003554/0.8608, allocations: 1.795 MB / 1.11 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8608, allocations: 8.031 kB / 1.11 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009321/0.8702, allocations: 1.275 MB / 1.111 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.8719, allocations: 0.9536 MB / 1.112 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.264e-05/0.872, allocations: 90.45 kB / 1.112 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.8722, allocations: 124 kB / 1.112 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005132/0.8773, allocations: 2.03 MB / 1.114 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.8774, allocations: 0 / 1.114 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.8775, allocations: 52 kB / 1.114 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.8776, allocations: 32 kB / 1.114 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007549/0.8851, allocations: 2.768 MB / 1.117 GB, free: 5.168 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008625/0.8938, allocations: 4.465 MB / 1.121 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008005/0.9018, allocations: 2.743 MB / 1.124 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003/0.9048, allocations: 1.038 MB / 1.125 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005822/0.9054, allocations: 0.61 MB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003594/0.909, allocations: 1.356 MB / 1.127 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 2.835e-06/0.909, allocations: 0 / 1.127 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01105/0.9201, allocations: 3.383 MB / 1.13 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.9202, allocations: 197.2 kB / 1.131 GB, free: 7.043 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.9212, allocations: 0.7783 MB / 1.131 GB, free: 6.25 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001334/0.9214, allocations: 45.7 kB / 1.131 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.9218, allocations: 484.8 kB / 1.132 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003841/0.9222, allocations: 429.8 kB / 1.132 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004927/0.9227, allocations: 270.6 kB / 1.132 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.9228, allocations: 353.9 kB / 1.133 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/0.9259, allocations: 0.9664 MB / 1.134 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/0.9291, allocations: 1.101 MB / 1.135 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005909/0.935, allocations: 1.919 MB / 1.137 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.935, allocations: 8 kB / 1.137 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007273/0.9423, allocations: 2.319 MB / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.9423, allocations: 8 kB / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.9424, allocations: 0 / 1.139 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/0.943, allocations: 84.83 kB / 1.139 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.9455, allocations: 435.3 kB / 1.139 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.9476, allocations: 1.529 MB / 1.141 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.9499, allocations: 286.6 kB / 1.141 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.9501, allocations: 63.94 kB / 1.141 GB, free: 11.78 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.0007471/0.9508, allocations: 332.2 kB / 1.142 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.9511, allocations: 110.7 kB / 1.142 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008031/0.9592, allocations: 2.735 MB / 1.144 GB, free: 8.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.9592, allocations: 15.94 kB / 1.144 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9592, allocations: 3.984 kB / 1.144 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.9592, allocations: 3.984 kB / 1.144 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009935/0.9692, allocations: 4.294 MB / 1.149 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.9692, allocations: 4 kB / 1.149 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/0.9716, allocations: 411.4 kB / 1.149 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005303/0.9721, allocations: 84.77 kB / 1.149 GB, free: 3.715 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.9722, allocations: 47.94 kB / 1.149 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.9741, allocations: 1.559 MB / 1.151 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.9741, allocations: 11.94 kB / 1.151 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007078/0.9812, allocations: 2.48 MB / 1.153 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006827/0.9819, allocations: 431.1 kB / 1.153 GB, free: 15.02 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.9821, allocations: 35.94 kB / 1.154 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/0.9841, allocations: 233.5 kB / 1.154 GB, free: 14.76 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.9843, allocations: 97.17 kB / 1.154 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.9845, allocations: 63.92 kB / 1.154 GB, free: 14.6 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007247/0.9852, allocations: 0.5498 MB / 1.154 GB, free: 14.05 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9852, allocations: 8 kB / 1.154 GB, free: 14.04 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00131/0.9865, allocations: 479.1 kB / 1.155 GB, free: 13.57 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.001483/0.988, allocations: 0.6391 MB / 1.156 GB, free: 13.11 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006849/0.9949, allocations: 2.352 MB / 1.158 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.9949, allocations: 0 / 1.158 GB, free: 10.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003536/0.9984, allocations: 1.31 MB / 1.159 GB, free: 9.426 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.9999, allocations: 308.9 kB / 1.159 GB, free: 9.133 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007681/1.008, allocations: 3.5 MB / 1.163 GB, free: 5.602 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008549/1.008, allocations: 1.159 MB / 1.164 GB, free: 4.406 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001939/1.01, allocations: 473.1 kB / 1.164 GB, free: 3.941 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006957/1.011, allocations: 167.2 kB / 1.165 GB, free: 3.777 MB / 0.92 GB Notification: Performance of SimCode: time 7.62e-07/1.011, allocations: 0 / 1.165 GB, free: 3.777 MB / 0.92 GB Notification: Performance of Templates: time 0.0352/1.046, allocations: 21.63 MB / 1.186 GB, free: 14.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