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.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.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.001388/0.001388, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001643/0.001643, allocations: 195.8 kB / 16.25 MB, free: 6.633 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.396/2.396, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001492, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6961/0.6976, allocations: 140.4 MB / 0.9491 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007882/0.7055, allocations: 5.254 MB / 0.9542 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1654/0.871, allocations: 149.2 MB / 1.1 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.8721, allocations: 27.88 kB / 1.1 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.8727, allocations: 150.8 kB / 1.1 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.8747, allocations: 0.5403 MB / 1.101 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.8771, allocations: 0.8851 MB / 1.102 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.8789, allocations: 1.882 MB / 1.103 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.8802, allocations: 0.9064 MB / 1.104 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009376/0.8811, allocations: 0.7086 MB / 1.105 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007828/0.8819, allocations: 0.7897 MB / 1.106 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.8821, allocations: 188 kB / 1.106 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.8832, allocations: 0.6402 MB / 1.106 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003758/0.8836, allocations: 486.6 kB / 1.107 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006764/0.8843, allocations: 0.8202 MB / 1.108 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.8865, allocations: 2.364 MB / 1.11 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.8865, allocations: 4 kB / 1.11 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8865, allocations: 0 / 1.11 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.9e-05/0.8866, allocations: 0 / 1.11 GB, free: 12.59 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003327/0.8899, allocations: 1.887 MB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.8899, allocations: 8.031 kB / 1.112 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009825/0.8998, allocations: 1.286 MB / 1.113 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.9016, allocations: 1.036 MB / 1.114 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/0.9017, allocations: 102.7 kB / 1.114 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.9019, allocations: 128 kB / 1.114 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005462/0.9074, allocations: 2.205 MB / 1.117 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.9075, allocations: 3.938 kB / 1.117 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.9076, allocations: 56 kB / 1.117 GB, free: 5.715 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.063e-05/0.9077, allocations: 39.98 kB / 1.117 GB, free: 5.676 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007894/0.9156, allocations: 2.964 MB / 1.12 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009277/0.9249, allocations: 5.079 MB / 1.125 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008088/0.933, allocations: 2.876 MB / 1.127 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003214/0.9362, allocations: 1.133 MB / 1.128 GB, free: 9.523 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005442/0.9368, allocations: 0.6026 MB / 1.129 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003806/0.9406, allocations: 1.454 MB / 1.13 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 3.387e-06/0.9406, allocations: 0 / 1.13 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01143/0.9521, allocations: 3.625 MB / 1.134 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.9522, allocations: 193.2 kB / 1.134 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.9533, allocations: 0.8177 MB / 1.135 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.9535, allocations: 49.69 kB / 1.135 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.9539, allocations: 0.5084 MB / 1.136 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/0.9543, allocations: 441.7 kB / 1.136 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005181/0.9548, allocations: 266.7 kB / 1.136 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9549, allocations: 353.9 kB / 1.137 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003154/0.9581, allocations: 1.045 MB / 1.138 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/0.9614, allocations: 1.191 MB / 1.139 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00617/0.9676, allocations: 2.056 MB / 1.141 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.9676, allocations: 3.938 kB / 1.141 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007674/0.9753, allocations: 2.479 MB / 1.143 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.9753, allocations: 4 kB / 1.143 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.9754, allocations: 0 / 1.143 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006572/0.976, allocations: 88.78 kB / 1.143 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/0.9786, allocations: 435.3 kB / 1.144 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.9808, allocations: 1.646 MB / 1.145 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.9832, allocations: 280.6 kB / 1.146 GB, free: 7.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.9834, allocations: 71.92 kB / 1.146 GB, free: 7.5 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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (151): * Single equations (assignments): 150 * 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.0007997/0.9842, allocations: 359.8 kB / 1.146 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003913/0.9846, allocations: 118.5 kB / 1.146 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008803/0.9934, allocations: 2.876 MB / 1.149 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.9935, allocations: 12 kB / 1.149 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.9935, allocations: 11.88 kB / 1.149 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.9935, allocations: 15.91 kB / 1.149 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.9959, allocations: 1.808 MB / 1.151 GB, free: 2.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.996, allocations: 4 kB / 1.151 GB, free: 2.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002535/0.9985, allocations: 407.4 kB / 1.151 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005045/0.999, allocations: 72.78 kB / 1.151 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/0.9992, allocations: 51.94 kB / 1.151 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/1.001, allocations: 1.67 MB / 1.153 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.001, allocations: 3.938 kB / 1.153 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009059/1.01, allocations: 2.584 MB / 1.155 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008653/1.011, allocations: 463 kB / 1.156 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003591/1.012, allocations: 39.92 kB / 1.156 GB, free: 12.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.014, allocations: 227.6 kB / 1.156 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/1.014, allocations: 109.1 kB / 1.156 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.014, allocations: 59.94 kB / 1.156 GB, free: 12.38 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008632/1.015, allocations: 0.581 MB / 1.157 GB, free: 11.8 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/1.015, allocations: 0 / 1.157 GB, free: 11.8 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001403/1.017, allocations: 0.4911 MB / 1.157 GB, free: 11.31 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,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 (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.001639/1.018, allocations: 0.645 MB / 1.158 GB, free: 10.84 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.009325/1.028, allocations: 3.098 MB / 1.161 GB, free: 7.727 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.028, allocations: 0 / 1.161 GB, free: 7.727 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003895/1.032, allocations: 1.404 MB / 1.162 GB, free: 6.312 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/1.033, allocations: 334.4 kB / 1.163 GB, free: 6.012 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/1.041, allocations: 3.767 MB / 1.166 GB, free: 2.215 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000856/1.042, allocations: 1.195 MB / 1.167 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002004/1.044, allocations: 485.4 kB / 1.168 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007269/1.045, allocations: 163.3 kB / 1.168 GB, free: 360 kB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/1.045, allocations: 0 / 1.168 GB, free: 360 kB / 0.92 GB Notification: Performance of Templates: time 0.03902/1.084, allocations: 23.51 MB / 1.191 GB, free: 9 MB / 0.9512 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