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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001258/0.001259, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001705/0.001705, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.482/2.482, allocations: 390.9 MB / 0.666 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003478, allocations: 12 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7867/0.787, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.004819/0.7919, allocations: 4.558 MB / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1501/0.942, allocations: 137.3 MB / 1.093 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.9432, allocations: 27.88 kB / 1.093 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007295/0.9439, allocations: 142.8 kB / 1.093 GB, free: 1.137 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.9458, allocations: 0.4956 MB / 1.094 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.9478, allocations: 0.7409 MB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.9495, allocations: 1.675 MB / 1.096 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008806/0.9504, allocations: 0.6754 MB / 1.097 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.9511, allocations: 489.8 kB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006389/0.9517, allocations: 0.557 MB / 1.098 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.9519, allocations: 44 kB / 1.098 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009975/0.9529, allocations: 467.5 kB / 1.098 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.9532, allocations: 290.8 kB / 1.098 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.9534, allocations: 276.9 kB / 1.099 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.955, allocations: 1.765 MB / 1.1 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.955, allocations: 0 / 1.1 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.452e-06/0.955, allocations: 0 / 1.1 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.937e-05/0.955, allocations: 0 / 1.1 GB, free: 9.656 MB / 0.8575 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.00284/0.9579, allocations: 1.59 MB / 1.102 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.9579, allocations: 12.03 kB / 1.102 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008346/0.9663, allocations: 1.574 MB / 1.103 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/0.968, allocations: 0.9966 MB / 1.104 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.9682, allocations: 102.7 kB / 1.105 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.9684, allocations: 132 kB / 1.105 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005665/0.9741, allocations: 2.315 MB / 1.107 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.9741, allocations: 3.938 kB / 1.107 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001817/0.9743, allocations: 67.95 kB / 1.107 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.9744, allocations: 32 kB / 1.107 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007422/0.9818, allocations: 3.195 MB / 1.11 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008942/0.9908, allocations: 5.169 MB / 1.115 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007689/0.9985, allocations: 3.151 MB / 1.118 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003105/1.002, allocations: 1.234 MB / 1.119 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005241/1.002, allocations: 0.6104 MB / 1.12 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003531/1.006, allocations: 1.547 MB / 1.122 GB, free: 3.508 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=133): time 4.598e-06/1.006, allocations: 4 kB / 1.122 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133): time 0.01075/1.016, allocations: 3.957 MB / 1.125 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.017, allocations: 193.2 kB / 1.126 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/1.018, allocations: 0.8137 MB / 1.126 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/1.018, allocations: 53.7 kB / 1.126 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/1.018, allocations: 0.5084 MB / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/1.019, allocations: 441.7 kB / 1.127 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.019, allocations: 20 kB / 1.127 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.019, allocations: 353.9 kB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003054/1.022, allocations: 1.166 MB / 1.129 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/1.025, allocations: 1.292 MB / 1.13 GB, free: 10.6 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/1.029, allocations: 1.134 MB / 1.131 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.029, allocations: 0 / 1.131 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007723/1.036, allocations: 2.698 MB / 1.134 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/1.036, allocations: 8.875 kB / 1.134 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.036, allocations: 7.984 kB / 1.134 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00059/1.037, allocations: 88.8 kB / 1.134 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002432/1.039, allocations: 487.3 kB / 1.134 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/1.042, allocations: 1.534 MB / 1.136 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/1.044, allocations: 351.6 kB / 1.136 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/1.044, allocations: 67.92 kB / 1.136 GB, free: 4.094 MB / 0.8887 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008689/1.045, allocations: 360 kB / 1.137 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/1.045, allocations: 114.6 kB / 1.137 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009119/1.054, allocations: 3.125 MB / 1.14 GB, free: 488 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/1.054, allocations: 16 kB / 1.14 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.054, allocations: 0 / 1.14 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/1.055, allocations: 7.969 kB / 1.14 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/1.057, allocations: 1.815 MB / 1.142 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.057, allocations: 0 / 1.142 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/1.06, allocations: 467.4 kB / 1.142 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005017/1.06, allocations: 96.7 kB / 1.142 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001584/1.06, allocations: 43.94 kB / 1.142 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.062, allocations: 1.56 MB / 1.144 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.062, allocations: 0 / 1.144 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007615/1.07, allocations: 2.799 MB / 1.146 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008778/1.071, allocations: 486.9 kB / 1.147 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/1.071, allocations: 32 kB / 1.147 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.073, allocations: 299.7 kB / 1.147 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/1.073, allocations: 101.2 kB / 1.147 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.074, allocations: 63.92 kB / 1.147 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000893/1.074, allocations: 0.5771 MB / 1.148 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.074, allocations: 0 / 1.148 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001551/1.076, allocations: 494.9 kB / 1.148 GB, free: 7.434 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001645/1.078, allocations: 0.6619 MB / 1.149 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007262/1.085, allocations: 2.742 MB / 1.152 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.085, allocations: 0 / 1.152 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003768/1.089, allocations: 1.505 MB / 1.153 GB, free: 2.672 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.09, allocations: 299.3 kB / 1.154 GB, free: 2.387 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009558/1.1, allocations: 3.834 MB / 1.157 GB, free: 14.52 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/1.101, allocations: 1.187 MB / 1.158 GB, free: 13.31 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002564/1.104, allocations: 489.3 kB / 1.159 GB, free: 12.83 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000854/1.104, allocations: 171.3 kB / 1.159 GB, free: 12.66 MB / 0.92 GB Notification: Performance of SimCode: time 1.523e-06/1.104, allocations: 3.938 kB / 1.159 GB, free: 12.66 MB / 0.92 GB Notification: Performance of Templates: time 0.0392/1.144, allocations: 21.88 MB / 1.18 GB, free: 6.941 MB / 0.9356 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