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.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.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.001147/0.001152, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001023/0.001023, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.179/2.179, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 62.02 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.232, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006253/0.2383, allocations: 5.097 MB / 0.9561 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6167/0.855, allocations: 151.2 MB / 1.104 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009921/0.856, allocations: 20.28 kB / 1.104 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005786/0.8567, allocations: 193.4 kB / 1.104 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001715/0.8584, allocations: 0.5955 MB / 1.105 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.8611, allocations: 0.9651 MB / 1.106 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001954/0.8631, allocations: 1.778 MB / 1.107 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.8642, allocations: 0.8175 MB / 1.108 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009513/0.8652, allocations: 0.6469 MB / 1.109 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009232/0.8661, allocations: 0.7225 MB / 1.109 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.8664, allocations: 162.9 kB / 1.11 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.8678, allocations: 0.6388 MB / 1.11 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004411/0.8682, allocations: 449.4 kB / 1.111 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006994/0.8689, allocations: 0.7456 MB / 1.111 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002741/0.8717, allocations: 2.166 MB / 1.113 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8717, allocations: 1.438 kB / 1.113 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8717, allocations: 0 / 1.113 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.371e-05/0.8718, allocations: 0 / 1.113 GB, free: 3.559 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003934/0.8757, allocations: 1.801 MB / 1.115 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.8758, allocations: 9.406 kB / 1.115 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009167/0.8849, allocations: 1.275 MB / 1.116 GB, free: 18.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.8873, allocations: 0.9756 MB / 1.117 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.404e-05/0.8874, allocations: 90.3 kB / 1.117 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.8876, allocations: 116.3 kB / 1.118 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005157/0.8928, allocations: 2.039 MB / 1.12 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.8929, allocations: 3.938 kB / 1.12 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/0.893, allocations: 52.61 kB / 1.12 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.8931, allocations: 30 kB / 1.12 GB, free: 17.92 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007149/0.9002, allocations: 2.76 MB / 1.122 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008747/0.909, allocations: 4.423 MB / 1.127 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007108/0.9161, allocations: 2.745 MB / 1.129 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/0.9189, allocations: 1.042 MB / 1.13 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005999/0.9195, allocations: 0.608 MB / 1.131 GB, free: 16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003274/0.9228, allocations: 1.361 MB / 1.132 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=132): time 3.016e-06/0.9228, allocations: 0 / 1.132 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=132): time 0.01026/0.9331, allocations: 3.372 MB / 1.136 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.9332, allocations: 201.5 kB / 1.136 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.9343, allocations: 0.7729 MB / 1.137 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/0.9345, allocations: 49.83 kB / 1.137 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.9348, allocations: 497.7 kB / 1.137 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.9352, allocations: 424.7 kB / 1.137 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004917/0.9356, allocations: 269.8 kB / 1.138 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9358, allocations: 353.9 kB / 1.138 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.9384, allocations: 0.9601 MB / 1.139 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002799/0.9413, allocations: 1.096 MB / 1.14 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00519/0.9465, allocations: 1.93 MB / 1.142 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.9465, allocations: 1.312 kB / 1.142 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006802/0.9533, allocations: 2.316 MB / 1.144 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.9533, allocations: 12.56 kB / 1.144 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.9533, allocations: 1.125 kB / 1.144 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006042/0.954, allocations: 87.52 kB / 1.144 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.9563, allocations: 432.5 kB / 1.145 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.9586, allocations: 1.642 MB / 1.146 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.9609, allocations: 288.4 kB / 1.147 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/0.9611, allocations: 68.97 kB / 1.147 GB, free: 10.76 MB / 0.8731 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.0009061/0.962, allocations: 334.8 kB / 1.147 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004418/0.9625, allocations: 110.7 kB / 1.147 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00756/0.97, allocations: 2.726 MB / 1.15 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.9701, allocations: 15.12 kB / 1.15 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.9701, allocations: 0 / 1.15 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.9701, allocations: 3.984 kB / 1.15 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.9802, allocations: 4.315 MB / 1.154 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.9802, allocations: 0 / 1.154 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/0.9824, allocations: 409.5 kB / 1.154 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/0.9828, allocations: 80.59 kB / 1.154 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/0.983, allocations: 51 kB / 1.155 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.9849, allocations: 1.669 MB / 1.156 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.985, allocations: 2.453 kB / 1.156 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007015/0.992, allocations: 2.495 MB / 1.159 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009902/0.993, allocations: 425.6 kB / 1.159 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/0.9933, allocations: 35.27 kB / 1.159 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.9953, allocations: 218.4 kB / 1.159 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.9955, allocations: 107.2 kB / 1.159 GB, free: 2.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/0.9957, allocations: 63.03 kB / 1.159 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007998/0.9965, allocations: 0.5577 MB / 1.16 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9965, allocations: 0 / 1.16 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001479/0.998, allocations: 485.1 kB / 1.16 GB, free: 2.195 MB / 0.8731 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.001581/0.9996, allocations: 0.6445 MB / 1.161 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006446/1.006, allocations: 2.366 MB / 1.163 GB, free: 0.707 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.006, allocations: 4.125 kB / 1.163 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003262/1.009, allocations: 1.301 MB / 1.165 GB, free: 28 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.011, allocations: 319.5 kB / 1.165 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006744/1.018, allocations: 2.918 MB / 1.168 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/1.018, allocations: 1.156 MB / 1.169 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001569/1.02, allocations: 483.1 kB / 1.169 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/1.021, allocations: 166.5 kB / 1.17 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of SimCode: time 4.71e-07/1.021, allocations: 0 / 1.17 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of Templates: time 0.03464/1.055, allocations: 22.59 MB / 1.192 GB, free: 14.8 MB / 0.9044 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 -s gbode -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