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.001676/0.001676, allocations: 108 kB / 15.6 MB, free: 132 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.001923/0.001923, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.459/2.459, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6916, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.006077/0.6977, allocations: 5.25 MB / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.8694, allocations: 151.5 MB / 1.103 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.8706, allocations: 23.88 kB / 1.103 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006441/0.8713, allocations: 198.1 kB / 1.103 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.8735, allocations: 0.6155 MB / 1.103 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.8759, allocations: 0.9812 MB / 1.104 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.8777, allocations: 1.882 MB / 1.106 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.879, allocations: 0.9064 MB / 1.107 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009363/0.8799, allocations: 0.7086 MB / 1.108 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008426/0.8808, allocations: 0.7679 MB / 1.109 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.881, allocations: 192 kB / 1.109 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.8823, allocations: 0.644 MB / 1.109 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004057/0.8827, allocations: 478.6 kB / 1.11 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006755/0.8834, allocations: 0.8201 MB / 1.111 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.8857, allocations: 2.368 MB / 1.113 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.8857, allocations: 4 kB / 1.113 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8857, allocations: 0 / 1.113 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.121e-05/0.8857, allocations: 0 / 1.113 GB, free: 9.98 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.003202/0.8889, allocations: 1.883 MB / 1.115 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.889, allocations: 12.02 kB / 1.115 GB, free: 8.027 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00928/0.8983, allocations: 1.29 MB / 1.116 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.8998, allocations: 1.032 MB / 1.117 GB, free: 5.656 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/0.8999, allocations: 102.7 kB / 1.117 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.9001, allocations: 128 kB / 1.117 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005261/0.9054, allocations: 2.209 MB / 1.119 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.9054, allocations: 4 kB / 1.119 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.9056, allocations: 56 kB / 1.119 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.9057, allocations: 32 kB / 1.12 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007887/0.9135, allocations: 2.964 MB / 1.122 GB, free: 100 kB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008763/0.9223, allocations: 5.076 MB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00829/0.9306, allocations: 2.884 MB / 1.13 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003218/0.9339, allocations: 1.125 MB / 1.131 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005298/0.9344, allocations: 0.6182 MB / 1.132 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003771/0.9382, allocations: 1.438 MB / 1.133 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=133): time 3.747e-06/0.9382, allocations: 0 / 1.133 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133): time 0.01178/0.95, allocations: 3.621 MB / 1.137 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.9501, allocations: 201.2 kB / 1.137 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.9512, allocations: 0.8099 MB / 1.138 GB, free: 12 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.9514, allocations: 53.7 kB / 1.138 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000401/0.9518, allocations: 0.5161 MB / 1.138 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.9521, allocations: 429.7 kB / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.9526, allocations: 274.7 kB / 1.139 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.9528, allocations: 353.9 kB / 1.139 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/0.9561, allocations: 1.049 MB / 1.14 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/0.9595, allocations: 1.183 MB / 1.142 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006562/0.9661, allocations: 2.063 MB / 1.144 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.9661, allocations: 3.938 kB / 1.144 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008002/0.9741, allocations: 2.479 MB / 1.146 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.9742, allocations: 4 kB / 1.146 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.9742, allocations: 4 kB / 1.146 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.9748, allocations: 84.83 kB / 1.146 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.9774, allocations: 427.3 kB / 1.146 GB, free: 7.035 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.9795, allocations: 1.652 MB / 1.148 GB, free: 5.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/0.9819, allocations: 286.6 kB / 1.148 GB, free: 4.957 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.982, allocations: 63.92 kB / 1.148 GB, free: 4.895 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.0008401/0.9829, allocations: 356 kB / 1.149 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.9832, allocations: 122.5 kB / 1.149 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008614/0.9918, allocations: 2.88 MB / 1.152 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.9918, allocations: 16 kB / 1.152 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.9919, allocations: 0 / 1.152 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.9919, allocations: 7.969 kB / 1.152 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.9941, allocations: 1.804 MB / 1.153 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.9941, allocations: 0 / 1.153 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/0.9965, allocations: 415.4 kB / 1.154 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/0.997, allocations: 80.77 kB / 1.154 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/0.9972, allocations: 47.94 kB / 1.154 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.999, allocations: 1.681 MB / 1.156 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9991, allocations: 0 / 1.156 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007852/1.007, allocations: 2.572 MB / 1.158 GB, free: 10.68 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006933/1.008, allocations: 471.1 kB / 1.159 GB, free: 10.2 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/1.008, allocations: 31.94 kB / 1.159 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/1.01, allocations: 227.7 kB / 1.159 GB, free: 9.945 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.01, allocations: 97.17 kB / 1.159 GB, free: 9.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.01, allocations: 75.86 kB / 1.159 GB, free: 9.777 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007458/1.011, allocations: 0.581 MB / 1.16 GB, free: 9.199 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.011, allocations: 7.938 kB / 1.16 GB, free: 9.191 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001262/1.012, allocations: 498.8 kB / 1.16 GB, free: 8.703 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.001421/1.014, allocations: 0.6303 MB / 1.161 GB, free: 8.246 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.009757/1.024, allocations: 3.109 MB / 1.164 GB, free: 5.125 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.024, allocations: 4 kB / 1.164 GB, free: 5.121 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003911/1.028, allocations: 1.396 MB / 1.165 GB, free: 3.711 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/1.029, allocations: 336.4 kB / 1.165 GB, free: 3.406 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007606/1.037, allocations: 3.161 MB / 1.168 GB, free: 224 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/1.037, allocations: 1.191 MB / 1.17 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001808/1.039, allocations: 493.3 kB / 1.17 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/1.04, allocations: 175.3 kB / 1.17 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of SimCode: time 6.41e-07/1.04, allocations: 0 / 1.17 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.04456/1.084, allocations: 23.63 MB / 1.193 GB, free: 6.871 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