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.001682/0.001682, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 196 kB / 16.79 MB, free: 6.809 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.412/1.412, allocations: 222.9 MB / 240.5 MB, free: 4.609 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.358/2.358, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8377/0.8398, allocations: 140.3 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007495/0.8474, allocations: 5.266 MB / 0.9547 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1642/1.012, allocations: 149.1 MB / 1.1 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/1.013, allocations: 23.88 kB / 1.1 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009151/1.014, allocations: 150.8 kB / 1.101 GB, free: 7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002283/1.017, allocations: 0.5244 MB / 1.101 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/1.019, allocations: 0.8621 MB / 1.102 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002171/1.021, allocations: 1.843 MB / 1.104 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/1.023, allocations: 0.8729 MB / 1.105 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/1.024, allocations: 0.5992 MB / 1.105 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/1.025, allocations: 0.7272 MB / 1.106 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003351/1.025, allocations: 92 kB / 1.106 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/1.026, allocations: 0.5464 MB / 1.106 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004352/1.027, allocations: 378.6 kB / 1.107 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008979/1.028, allocations: 0.7264 MB / 1.108 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001941/1.03, allocations: 1.809 MB / 1.109 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.03, allocations: 3.938 kB / 1.109 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.445e-06/1.03, allocations: 0 / 1.109 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.091e-05/1.03, allocations: 3.938 kB / 1.109 GB, free: 13.96 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.004335/1.034, allocations: 1.883 MB / 1.111 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.034, allocations: 12.03 kB / 1.111 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009513/1.044, allocations: 1.282 MB / 1.112 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/1.046, allocations: 1.036 MB / 1.113 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/1.046, allocations: 98.67 kB / 1.113 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/1.046, allocations: 132 kB / 1.114 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005618/1.052, allocations: 2.201 MB / 1.116 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/1.052, allocations: 0 / 1.116 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/1.052, allocations: 67.94 kB / 1.116 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/1.052, allocations: 32 kB / 1.116 GB, free: 7.059 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007928/1.06, allocations: 2.96 MB / 1.119 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009641/1.069, allocations: 5.087 MB / 1.124 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008102/1.078, allocations: 2.876 MB / 1.127 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003158/1.081, allocations: 1.129 MB / 1.128 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005475/1.081, allocations: 0.6066 MB / 1.128 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003735/1.085, allocations: 1.446 MB / 1.13 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 3.306e-06/1.085, allocations: 0 / 1.13 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01123/1.096, allocations: 3.621 MB / 1.133 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.698e-05/1.096, allocations: 193.2 kB / 1.133 GB, free: 4.824 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/1.098, allocations: 0.8216 MB / 1.134 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/1.098, allocations: 45.7 kB / 1.134 GB, free: 3.938 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/1.098, allocations: 0.5201 MB / 1.135 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004739/1.099, allocations: 433.7 kB / 1.135 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000691/1.099, allocations: 266.7 kB / 1.135 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.1, allocations: 353.9 kB / 1.136 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/1.103, allocations: 1.049 MB / 1.137 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/1.106, allocations: 1.199 MB / 1.138 GB, free: 92 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005972/1.112, allocations: 2.052 MB / 1.14 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.112, allocations: 3.938 kB / 1.14 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007756/1.12, allocations: 2.479 MB / 1.142 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/1.12, allocations: 7.984 kB / 1.142 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.12, allocations: 4 kB / 1.142 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006704/1.121, allocations: 80.84 kB / 1.142 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/1.123, allocations: 435.3 kB / 1.143 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/1.126, allocations: 1.539 MB / 1.144 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002355/1.128, allocations: 287.8 kB / 1.145 GB, free: 9.051 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/1.128, allocations: 63.92 kB / 1.145 GB, free: 8.988 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.0007939/1.129, allocations: 351.8 kB / 1.145 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/1.129, allocations: 114.6 kB / 1.145 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008545/1.138, allocations: 2.887 MB / 1.148 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.138, allocations: 16 kB / 1.148 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.138, allocations: 0 / 1.148 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.138, allocations: 3.984 kB / 1.148 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/1.14, allocations: 1.808 MB / 1.15 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/1.14, allocations: 0 / 1.15 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.143, allocations: 415.3 kB / 1.15 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005444/1.143, allocations: 84.77 kB / 1.15 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/1.144, allocations: 51.94 kB / 1.15 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/1.145, allocations: 1.552 MB / 1.152 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.145, allocations: 4.062 kB / 1.152 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007682/1.153, allocations: 2.58 MB / 1.154 GB, free: 14.9 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000816/1.154, allocations: 459.1 kB / 1.155 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/1.154, allocations: 35.88 kB / 1.155 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002168/1.156, allocations: 231.7 kB / 1.155 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/1.157, allocations: 105.2 kB / 1.155 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001902/1.157, allocations: 63.94 kB / 1.155 GB, free: 14 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009711/1.158, allocations: 0.581 MB / 1.156 GB, free: 13.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.158, allocations: 4 kB / 1.156 GB, free: 13.42 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001404/1.159, allocations: 0.495 MB / 1.156 GB, free: 12.93 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.001604/1.161, allocations: 0.6466 MB / 1.157 GB, free: 12.46 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007308/1.168, allocations: 2.52 MB / 1.159 GB, free: 9.922 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.168, allocations: 4.125 kB / 1.159 GB, free: 9.918 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003834/1.172, allocations: 1.4 MB / 1.161 GB, free: 8.508 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.174, allocations: 300.8 kB / 1.161 GB, free: 8.223 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008004/1.182, allocations: 3.806 MB / 1.165 GB, free: 4.379 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/1.183, allocations: 1.191 MB / 1.166 GB, free: 3.156 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009615/1.184, allocations: 203.2 kB / 1.166 GB, free: 2.957 MB / 0.92 GB Notification: Performance of SimCode: time 6.71e-07/1.184, allocations: 0 / 1.166 GB, free: 2.957 MB / 0.92 GB Notification: Performance of Templates: time 0.03835/1.222, allocations: 30.41 MB / 1.196 GB, free: 4.613 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches