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.001186/0.001187, allocations: 92.39 kB / 16.02 MB, free: 80 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.001622/0.001622, allocations: 181.7 kB / 16.92 MB, free: 6.652 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.289 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.427/2.427, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 12.28 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6743/0.6746, allocations: 142.4 MB / 0.9557 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005209/0.6799, allocations: 4.657 MB / 0.9603 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.8552, allocations: 146.9 MB / 1.104 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000992/0.8563, allocations: 15.94 kB / 1.104 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.857, allocations: 158.8 kB / 1.104 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.8588, allocations: 0.5 MB / 1.104 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.861, allocations: 0.8469 MB / 1.105 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.8631, allocations: 1.75 MB / 1.107 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.8642, allocations: 0.7702 MB / 1.108 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007681/0.865, allocations: 481.9 kB / 1.108 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.8657, allocations: 0.5674 MB / 1.109 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.8658, allocations: 44 kB / 1.109 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.8669, allocations: 495.5 kB / 1.109 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.8672, allocations: 298.7 kB / 1.11 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.8678, allocations: 0.6112 MB / 1.11 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.8694, allocations: 1.566 MB / 1.112 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8694, allocations: 4 kB / 1.112 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8694, allocations: 0 / 1.112 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.8694, allocations: 0 / 1.112 GB, free: 15.05 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.00291/0.8723, allocations: 1.504 MB / 1.113 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.8724, allocations: 8.031 kB / 1.113 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009804/0.8822, allocations: 1.571 MB / 1.115 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001783/0.884, allocations: 0.9535 MB / 1.116 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.8841, allocations: 94.45 kB / 1.116 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.8844, allocations: 120 kB / 1.116 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005454/0.8898, allocations: 2.159 MB / 1.118 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.8899, allocations: 0 / 1.118 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.8901, allocations: 52 kB / 1.118 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.8901, allocations: 28 kB / 1.118 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008428/0.8985, allocations: 3.01 MB / 1.121 GB, free: 5.371 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009346/0.9079, allocations: 4.568 MB / 1.125 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009017/0.9169, allocations: 3.02 MB / 1.128 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003534/0.9205, allocations: 1.155 MB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005593/0.9211, allocations: 0.6062 MB / 1.13 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004086/0.9252, allocations: 1.469 MB / 1.131 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=132): time 3.697e-06/0.9252, allocations: 0 / 1.131 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of matching and sorting (n=132): time 0.01246/0.9377, allocations: 3.738 MB / 1.135 GB, free: 6.52 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.9378, allocations: 197.2 kB / 1.135 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.939, allocations: 0.7706 MB / 1.136 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.9392, allocations: 49.69 kB / 1.136 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.9397, allocations: 480.8 kB / 1.137 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004605/0.9401, allocations: 437.8 kB / 1.137 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.9404, allocations: 101.7 kB / 1.137 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.9405, allocations: 349.9 kB / 1.137 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003441/0.944, allocations: 1.08 MB / 1.138 GB, free: 3 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/0.9475, allocations: 1.21 MB / 1.14 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006776/0.9543, allocations: 2.153 MB / 1.142 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.9543, allocations: 4 kB / 1.142 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008137/0.9624, allocations: 2.549 MB / 1.144 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.9625, allocations: 8 kB / 1.144 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.9625, allocations: 0 / 1.144 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/0.9632, allocations: 88.83 kB / 1.144 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002643/0.9658, allocations: 483.3 kB / 1.145 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.9681, allocations: 1.542 MB / 1.146 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.9706, allocations: 352.2 kB / 1.147 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/0.9709, allocations: 67.92 kB / 1.147 GB, free: 10.38 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,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.0008501/0.9718, allocations: 336.2 kB / 1.147 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/0.9721, allocations: 114.6 kB / 1.147 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008996/0.9811, allocations: 2.95 MB / 1.15 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.9812, allocations: 23.88 kB / 1.15 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9812, allocations: 0 / 1.15 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/0.9812, allocations: 11.97 kB / 1.15 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.9923, allocations: 4.521 MB / 1.154 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.9923, allocations: 0 / 1.154 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/0.9948, allocations: 471.3 kB / 1.155 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005648/0.9954, allocations: 88.78 kB / 1.155 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/0.9956, allocations: 51.86 kB / 1.155 GB, free: 1.742 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.9975, allocations: 1.563 MB / 1.157 GB, free: 44 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.9975, allocations: 7.922 kB / 1.157 GB, free: 36 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008405/1.006, allocations: 2.714 MB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008695/1.007, allocations: 450.9 kB / 1.16 GB, free: 12.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/1.007, allocations: 28 kB / 1.16 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.01, allocations: 303.7 kB / 1.16 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002194/1.01, allocations: 97.17 kB / 1.16 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/1.01, allocations: 63.94 kB / 1.16 GB, free: 12.36 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008524/1.011, allocations: 0.5537 MB / 1.161 GB, free: 11.81 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.011, allocations: 0 / 1.161 GB, free: 11.81 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001491/1.012, allocations: 479.1 kB / 1.161 GB, free: 11.34 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,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.001643/1.014, allocations: 0.6567 MB / 1.162 GB, free: 10.86 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007658/1.022, allocations: 2.574 MB / 1.164 GB, free: 8.27 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.022, allocations: 0 / 1.164 GB, free: 8.27 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003934/1.026, allocations: 1.431 MB / 1.166 GB, free: 6.828 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/1.027, allocations: 291.1 kB / 1.166 GB, free: 6.555 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/1.035, allocations: 3.724 MB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008043/1.036, allocations: 1.155 MB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009145/1.037, allocations: 199.2 kB / 1.171 GB, free: 1.41 MB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/1.037, allocations: 0 / 1.171 GB, free: 1.41 MB / 0.92 GB Notification: Performance of Templates: time 0.03819/1.075, allocations: 28.13 MB / 1.198 GB, free: 5.336 MB / 0.9512 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 -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