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.001111/0.00111, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.483/1.483, allocations: 222.9 MB / 240.2 MB, free: 4.359 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.352/2.352, allocations: 390.2 MB / 0.6646 GB, free: 484 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6544/0.6558, allocations: 140.4 MB / 0.9496 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006954/0.6628, allocations: 5.084 MB / 0.9546 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1764/0.8393, allocations: 151.2 MB / 1.102 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.8406, allocations: 23.88 kB / 1.102 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008529/0.8415, allocations: 194.1 kB / 1.102 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.8438, allocations: 0.6005 MB / 1.103 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002374/0.8461, allocations: 0.9603 MB / 1.104 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.8481, allocations: 1.77 MB / 1.106 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.8492, allocations: 0.8179 MB / 1.107 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008549/0.85, allocations: 0.6502 MB / 1.107 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007987/0.8509, allocations: 0.7275 MB / 1.108 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.8511, allocations: 164 kB / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.8522, allocations: 0.6089 MB / 1.109 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.8526, allocations: 434.7 kB / 1.109 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.8533, allocations: 0.7462 MB / 1.11 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.8555, allocations: 2.126 MB / 1.112 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8555, allocations: 0 / 1.112 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8555, allocations: 0 / 1.112 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.8555, allocations: 4 kB / 1.112 GB, free: 11.1 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.003197/0.8587, allocations: 1.795 MB / 1.114 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.8588, allocations: 8.031 kB / 1.114 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009417/0.8682, allocations: 1.275 MB / 1.115 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.8699, allocations: 0.9497 MB / 1.116 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.468e-05/0.8699, allocations: 94.45 kB / 1.116 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.8702, allocations: 120 kB / 1.116 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005102/0.8753, allocations: 2.034 MB / 1.118 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.8753, allocations: 4 kB / 1.118 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.8755, allocations: 44 kB / 1.118 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.8755, allocations: 36 kB / 1.118 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007902/0.8834, allocations: 2.756 MB / 1.121 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008961/0.8924, allocations: 4.477 MB / 1.125 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008321/0.9008, allocations: 2.74 MB / 1.128 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003261/0.904, allocations: 1.046 MB / 1.129 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005556/0.9046, allocations: 0.6062 MB / 1.129 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003711/0.9083, allocations: 1.359 MB / 1.131 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 3.186e-06/0.9084, allocations: 0 / 1.131 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01151/0.9199, allocations: 3.379 MB / 1.134 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.92, allocations: 197.2 kB / 1.134 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.9211, allocations: 0.7744 MB / 1.135 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.9213, allocations: 53.7 kB / 1.135 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.9217, allocations: 480.8 kB / 1.135 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004006/0.9221, allocations: 433.8 kB / 1.136 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004962/0.9226, allocations: 270.6 kB / 1.136 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9228, allocations: 353.9 kB / 1.136 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003211/0.926, allocations: 0.9625 MB / 1.137 GB, free: 344 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003546/0.9296, allocations: 1.097 MB / 1.138 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006584/0.9362, allocations: 1.931 MB / 1.14 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.83e-06/0.9362, allocations: 0 / 1.14 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007876/0.9441, allocations: 2.323 MB / 1.143 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.9441, allocations: 4 kB / 1.143 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.9441, allocations: 0 / 1.143 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006176/0.9448, allocations: 88.83 kB / 1.143 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/0.9473, allocations: 435.3 kB / 1.143 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.9494, allocations: 1.638 MB / 1.145 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002409/0.9518, allocations: 286.8 kB / 1.145 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.9521, allocations: 63.94 kB / 1.145 GB, free: 8.293 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.0007958/0.9529, allocations: 339.8 kB / 1.145 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.9532, allocations: 114.6 kB / 1.146 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008704/0.9619, allocations: 2.727 MB / 1.148 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.962, allocations: 16 kB / 1.148 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.962, allocations: 0 / 1.148 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.962, allocations: 7.984 kB / 1.148 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.9726, allocations: 4.286 MB / 1.152 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.9726, allocations: 4 kB / 1.152 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/0.975, allocations: 403.4 kB / 1.153 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004705/0.9755, allocations: 80.78 kB / 1.153 GB, free: 244 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/0.9757, allocations: 47.94 kB / 1.153 GB, free: 196 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.9776, allocations: 1.681 MB / 1.155 GB, free: 14.37 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9776, allocations: 4.062 kB / 1.155 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007894/0.9855, allocations: 2.491 MB / 1.157 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007757/0.9863, allocations: 423.2 kB / 1.157 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/0.9867, allocations: 32.12 kB / 1.157 GB, free: 11.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/0.9889, allocations: 229.6 kB / 1.158 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.9891, allocations: 109.2 kB / 1.158 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001618/0.9893, allocations: 63.88 kB / 1.158 GB, free: 10.99 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007992/0.9901, allocations: 0.5537 MB / 1.158 GB, free: 10.44 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9901, allocations: 4 kB / 1.158 GB, free: 10.44 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001399/0.9915, allocations: 483.1 kB / 1.159 GB, free: 9.965 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.001571/0.9931, allocations: 0.6266 MB / 1.159 GB, free: 9.512 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.009351/1.002, allocations: 2.926 MB / 1.162 GB, free: 6.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.003, allocations: 4 kB / 1.162 GB, free: 6.566 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003886/1.006, allocations: 1.314 MB / 1.164 GB, free: 5.242 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/1.008, allocations: 332.9 kB / 1.164 GB, free: 4.945 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007655/1.016, allocations: 2.94 MB / 1.167 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007972/1.017, allocations: 1.167 MB / 1.168 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002089/1.019, allocations: 488.9 kB / 1.168 GB, free: 300 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006906/1.02, allocations: 163.3 kB / 1.169 GB, free: 136 kB / 0.92 GB Notification: Performance of SimCode: time 6.62e-07/1.02, allocations: 4 kB / 1.169 GB, free: 132 kB / 0.92 GB Notification: Performance of Templates: time 0.03848/1.058, allocations: 22.59 MB / 1.191 GB, free: 9.688 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