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.001566/0.001565, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.00167/0.00167, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 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.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.22 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2349, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006772/0.2417, allocations: 5.101 MB / 0.9561 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6537/0.8954, allocations: 151.2 MB / 1.104 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.8965, allocations: 19.84 kB / 1.104 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.8972, allocations: 194.4 kB / 1.104 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.8988, allocations: 0.5946 MB / 1.105 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.9011, allocations: 0.9692 MB / 1.106 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00207/0.9032, allocations: 1.781 MB / 1.107 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.9043, allocations: 0.8058 MB / 1.108 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009936/0.9053, allocations: 0.6556 MB / 1.109 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008677/0.9062, allocations: 0.7167 MB / 1.109 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.9064, allocations: 162.8 kB / 1.11 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.9079, allocations: 0.6424 MB / 1.11 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005064/0.9084, allocations: 439.8 kB / 1.111 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007487/0.9091, allocations: 0.7566 MB / 1.111 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.9123, allocations: 2.156 MB / 1.113 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.9123, allocations: 9.312 kB / 1.113 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9123, allocations: 0 / 1.113 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.32e-05/0.9124, allocations: 1.203 kB / 1.113 GB, free: 3.527 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.003524/0.9159, allocations: 1.795 MB / 1.115 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.9159, allocations: 10.86 kB / 1.115 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009004/0.9249, allocations: 1.275 MB / 1.116 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.9272, allocations: 0.9792 MB / 1.117 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/0.9273, allocations: 89.23 kB / 1.117 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.9276, allocations: 120.9 kB / 1.118 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004772/0.9323, allocations: 2.038 MB / 1.12 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.9324, allocations: 0 / 1.12 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.9325, allocations: 50.66 kB / 1.12 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.9326, allocations: 29.41 kB / 1.12 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007317/0.9399, allocations: 2.759 MB / 1.122 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009196/0.9491, allocations: 4.429 MB / 1.127 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006922/0.9561, allocations: 2.737 MB / 1.129 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002692/0.9588, allocations: 1.048 MB / 1.13 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.9594, allocations: 0.6101 MB / 1.131 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003143/0.9626, allocations: 1.36 MB / 1.132 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=132): time 3.276e-06/0.9626, allocations: 0 / 1.132 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=132): time 0.009695/0.9723, allocations: 3.378 MB / 1.136 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.9724, allocations: 198.9 kB / 1.136 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.9735, allocations: 0.7733 MB / 1.137 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.9737, allocations: 50.3 kB / 1.137 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.974, allocations: 487.9 kB / 1.137 GB, free: 15 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.9743, allocations: 425.9 kB / 1.137 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/0.9748, allocations: 273.9 kB / 1.138 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.975, allocations: 351.3 kB / 1.138 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/0.9776, allocations: 0.9633 MB / 1.139 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/0.9803, allocations: 1.097 MB / 1.14 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005149/0.9855, allocations: 1.924 MB / 1.142 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.9855, allocations: 5.062 kB / 1.142 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006881/0.9924, allocations: 2.321 MB / 1.144 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.9925, allocations: 9.562 kB / 1.144 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.9925, allocations: 1.438 kB / 1.144 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.9931, allocations: 88.11 kB / 1.144 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/0.9953, allocations: 432.5 kB / 1.145 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.9976, allocations: 1.639 MB / 1.146 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1, allocations: 290.7 kB / 1.147 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1, allocations: 64.38 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.0007687/1.001, allocations: 339.1 kB / 1.147 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/1.001, allocations: 107.9 kB / 1.147 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007577/1.009, allocations: 2.727 MB / 1.15 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.009, allocations: 15.31 kB / 1.15 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.009, allocations: 0 / 1.15 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/1.009, allocations: 10.03 kB / 1.15 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/1.019, allocations: 4.309 MB / 1.154 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/1.019, allocations: 8 kB / 1.154 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002199/1.021, allocations: 410.2 kB / 1.154 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004367/1.022, allocations: 76.22 kB / 1.154 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/1.022, allocations: 51.19 kB / 1.155 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/1.024, allocations: 1.668 MB / 1.156 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.024, allocations: 4.062 kB / 1.156 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007045/1.031, allocations: 2.485 MB / 1.159 GB, free: 3.203 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009986/1.032, allocations: 429.7 kB / 1.159 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/1.032, allocations: 26.84 kB / 1.159 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.034, allocations: 229.8 kB / 1.159 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/1.034, allocations: 108.9 kB / 1.159 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.034, allocations: 59.16 kB / 1.159 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007183/1.035, allocations: 0.5576 MB / 1.16 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.035, allocations: 0 / 1.16 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001354/1.037, allocations: 488 kB / 1.16 GB, free: 2.199 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.00144/1.038, allocations: 0.6387 MB / 1.161 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006525/1.045, allocations: 2.367 MB / 1.163 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.045, allocations: 0 / 1.163 GB, free: 0.7148 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.00338/1.048, allocations: 1.309 MB / 1.165 GB, free: 36 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/1.05, allocations: 324 kB / 1.165 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006868/1.057, allocations: 2.91 MB / 1.168 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/1.057, allocations: 1.154 MB / 1.169 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001796/1.059, allocations: 495.9 kB / 1.169 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005957/1.06, allocations: 170.2 kB / 1.17 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of SimCode: time 1.082e-06/1.06, allocations: 0 / 1.17 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of Templates: time 0.03487/1.095, allocations: 22.58 MB / 1.192 GB, free: 14.84 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 cvode -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