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.001405/0.001405, allocations: 112.3 kB / 15.99 MB, free: 5.891 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.001497/0.001497, allocations: 194.2 kB / 16.91 MB, free: 5.746 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 4.504 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.375/2.375, allocations: 390.2 MB / 0.665 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.89 kB / 0.8127 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6686/0.6701, allocations: 140.4 MB / 0.9498 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005958/0.6761, allocations: 5.081 MB / 0.9547 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1615/0.8376, allocations: 149 MB / 1.1 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.839, allocations: 19.88 kB / 1.1 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009506/0.84, allocations: 150.8 kB / 1.1 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.8427, allocations: 0.5276 MB / 1.101 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.8451, allocations: 0.865 MB / 1.102 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002204/0.8474, allocations: 1.777 MB / 1.104 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.8487, allocations: 0.8102 MB / 1.104 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.8498, allocations: 0.654 MB / 1.105 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.8509, allocations: 0.7314 MB / 1.106 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.8514, allocations: 164 kB / 1.106 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.8529, allocations: 0.6167 MB / 1.106 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005703/0.8535, allocations: 446.6 kB / 1.107 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.8546, allocations: 0.7424 MB / 1.108 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.8569, allocations: 1.618 MB / 1.109 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.8569, allocations: 4 kB / 1.109 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8569, allocations: 0 / 1.109 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.406e-05/0.857, allocations: 0 / 1.109 GB, free: 14.2 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.004734/0.8617, allocations: 1.799 MB / 1.111 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.8618, allocations: 12.03 kB / 1.111 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009349/0.8711, allocations: 1.278 MB / 1.112 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.8731, allocations: 0.9497 MB / 1.113 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.8732, allocations: 98.45 kB / 1.113 GB, free: 9.953 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004045/0.8736, allocations: 116 kB / 1.113 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005623/0.8793, allocations: 2.041 MB / 1.115 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.8793, allocations: 3.938 kB / 1.115 GB, free: 7.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.8795, allocations: 52 kB / 1.115 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.8795, allocations: 28 kB / 1.115 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007518/0.8871, allocations: 2.756 MB / 1.118 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009116/0.8962, allocations: 4.477 MB / 1.122 GB, free: 340 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00781/0.904, allocations: 2.735 MB / 1.125 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/0.907, allocations: 1.048 MB / 1.126 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005831/0.9076, allocations: 0.6023 MB / 1.127 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003505/0.9111, allocations: 1.359 MB / 1.128 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 4.268e-06/0.9112, allocations: 3.938 kB / 1.128 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01057/0.9217, allocations: 3.375 MB / 1.131 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.9219, allocations: 205.2 kB / 1.132 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.9231, allocations: 0.7744 MB / 1.132 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.9233, allocations: 53.7 kB / 1.132 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.9237, allocations: 480.8 kB / 1.133 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004238/0.9242, allocations: 425.8 kB / 1.133 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000551/0.9247, allocations: 278.6 kB / 1.133 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.9248, allocations: 349.9 kB / 1.134 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/0.9278, allocations: 0.9626 MB / 1.135 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003084/0.9309, allocations: 1.097 MB / 1.136 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005738/0.9366, allocations: 1.923 MB / 1.138 GB, free: 372 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.9366, allocations: 3.984 kB / 1.138 GB, free: 368 kB / 0.8887 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007136/0.9438, allocations: 2.323 MB / 1.14 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.9438, allocations: 4 kB / 1.14 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.9439, allocations: 64 / 1.14 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/0.9445, allocations: 84.78 kB / 1.14 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.9469, allocations: 435.3 kB / 1.14 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.9491, allocations: 1.653 MB / 1.142 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/0.9514, allocations: 278.7 kB / 1.142 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.9516, allocations: 75.86 kB / 1.142 GB, free: 11.37 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.000841/0.9525, allocations: 332.3 kB / 1.143 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.9529, allocations: 106.7 kB / 1.143 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00814/0.9611, allocations: 2.727 MB / 1.146 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.9611, allocations: 12 kB / 1.146 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9611, allocations: 4 kB / 1.146 GB, free: 8.172 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.9612, allocations: 11.97 kB / 1.146 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.9712, allocations: 4.286 MB / 1.15 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.9713, allocations: 0 / 1.15 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/0.9735, allocations: 419.3 kB / 1.15 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004946/0.9741, allocations: 76.72 kB / 1.15 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/0.9742, allocations: 47.94 kB / 1.15 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.9763, allocations: 1.681 MB / 1.152 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9763, allocations: 0 / 1.152 GB, free: 1.453 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007439/0.9837, allocations: 2.487 MB / 1.154 GB, free: 14.94 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/0.9846, allocations: 423.2 kB / 1.155 GB, free: 14.51 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/0.985, allocations: 28 kB / 1.155 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/0.9871, allocations: 228.8 kB / 1.155 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.9874, allocations: 109.1 kB / 1.155 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/0.9876, allocations: 67.86 kB / 1.155 GB, free: 14.08 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009412/0.9885, allocations: 0.5498 MB / 1.156 GB, free: 13.54 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9885, allocations: 4 kB / 1.156 GB, free: 13.53 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001585/0.9901, allocations: 483.1 kB / 1.156 GB, free: 13.06 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.001722/0.9919, allocations: 0.6411 MB / 1.157 GB, free: 12.59 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.008833/1.001, allocations: 2.926 MB / 1.16 GB, free: 9.656 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.001, allocations: 8.062 kB / 1.16 GB, free: 9.648 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003696/1.004, allocations: 1.306 MB / 1.161 GB, free: 8.328 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/1.006, allocations: 328.6 kB / 1.161 GB, free: 8.035 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/1.014, allocations: 3.547 MB / 1.165 GB, free: 4.453 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/1.015, allocations: 1.159 MB / 1.166 GB, free: 3.258 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/1.016, allocations: 199.2 kB / 1.166 GB, free: 3.062 MB / 0.92 GB Notification: Performance of SimCode: time 8.41e-07/1.016, allocations: 3.938 kB / 1.166 GB, free: 3.059 MB / 0.92 GB Notification: Performance of Templates: time 0.03944/1.056, allocations: 28.27 MB / 1.194 GB, free: 6.84 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/jenkins1/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