Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.382/2.382, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 178.9 kB / 0.4902 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.1 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009368/0.0009371, allocations: 96.06 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 14.97 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3611, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.949/5.31, allocations: 1.738 GB / 2.967 GB, free: 248.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/5.31, allocations: 91.94 kB / 2.967 GB, free: 248 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1741/5.485, allocations: 77.95 MB / 3.043 GB, free: 169.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.587e-06/5.485, allocations: 0 / 3.043 GB, free: 169.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001517/5.485, allocations: 27.94 kB / 3.044 GB, free: 169.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.004556/5.489, allocations: 1.492 MB / 3.045 GB, free: 168.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/5.489, allocations: 12.03 kB / 3.045 GB, free: 168.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008272/5.498, allocations: 1.344 MB / 3.046 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00285/5.501, allocations: 0.8795 MB / 3.047 GB, free: 165.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/5.501, allocations: 86.39 kB / 3.047 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005755/5.501, allocations: 116 kB / 3.047 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006308/5.508, allocations: 2.169 MB / 3.049 GB, free: 163.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/5.508, allocations: 0 / 3.049 GB, free: 163.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/5.508, allocations: 55.95 kB / 3.05 GB, free: 163.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/5.508, allocations: 31.94 kB / 3.05 GB, free: 163.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00814/5.516, allocations: 3.108 MB / 3.053 GB, free: 160.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/5.527, allocations: 4.836 MB / 3.057 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007676/5.534, allocations: 3.031 MB / 3.06 GB, free: 152.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005602/5.535, allocations: 0.6101 MB / 3.061 GB, free: 151.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003551/5.539, allocations: 1.449 MB / 3.062 GB, free: 150.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=121): time 6.162e-06/5.539, allocations: 0 / 3.062 GB, free: 150.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=121): time 0.01058/5.549, allocations: 3.785 MB / 3.066 GB, free: 146.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/5.549, allocations: 256.3 kB / 3.066 GB, free: 145.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/5.551, allocations: 0.7189 MB / 3.067 GB, free: 145.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001907/5.551, allocations: 49.7 kB / 3.067 GB, free: 145.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/5.552, allocations: 468.7 kB / 3.067 GB, free: 144.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003963/5.552, allocations: 406 kB / 3.068 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.3e-05/5.552, allocations: 20 kB / 3.068 GB, free: 144.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001249/5.552, allocations: 349.9 kB / 3.068 GB, free: 143.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/5.555, allocations: 1.099 MB / 3.069 GB, free: 142.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002942/5.558, allocations: 1.245 MB / 3.07 GB, free: 141.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/5.561, allocations: 1.088 MB / 3.072 GB, free: 140.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/5.561, allocations: 0 / 3.072 GB, free: 140.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.007232/5.568, allocations: 2.531 MB / 3.074 GB, free: 137.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/5.568, allocations: 8 kB / 3.074 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/5.568, allocations: 0 / 3.074 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007009/5.569, allocations: 88.83 kB / 3.074 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/5.572, allocations: 459.3 kB / 3.075 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/5.574, allocations: 1.545 MB / 3.076 GB, free: 135.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/5.577, allocations: 330.7 kB / 3.076 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003639/5.577, allocations: 55.94 kB / 3.076 GB, free: 135.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001545/5.579, allocations: 317.6 kB / 3.077 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008044/5.58, allocations: 110.6 kB / 3.077 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009245/5.589, allocations: 2.983 MB / 3.08 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/5.589, allocations: 12 kB / 3.08 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/5.589, allocations: 8 kB / 3.08 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/5.589, allocations: 7.969 kB / 3.08 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/5.601, allocations: 4.825 MB / 3.084 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/5.601, allocations: 0 / 3.084 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/5.603, allocations: 467.3 kB / 3.085 GB, free: 126.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000576/5.604, allocations: 84.77 kB / 3.085 GB, free: 126.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001968/5.604, allocations: 51.94 kB / 3.085 GB, free: 126.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/5.606, allocations: 1.571 MB / 3.087 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/5.606, allocations: 0 / 3.087 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007888/5.614, allocations: 2.73 MB / 3.089 GB, free: 121.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/5.616, allocations: 471.1 kB / 3.09 GB, free: 121.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005735/5.616, allocations: 23.95 kB / 3.09 GB, free: 121.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/5.619, allocations: 287.7 kB / 3.09 GB, free: 121.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/5.619, allocations: 85.19 kB / 3.09 GB, free: 121 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/5.619, allocations: 59.94 kB / 3.09 GB, free: 121 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00127/5.621, allocations: 0.5888 MB / 3.091 GB, free: 120.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.71e-07/5.621, allocations: 0 / 3.091 GB, free: 120.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002785/5.624, allocations: 0.5262 MB / 3.091 GB, free: 119.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00373/5.627, allocations: 1.117 MB / 3.092 GB, free: 118.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00779/5.635, allocations: 2.6 MB / 3.095 GB, free: 116.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/5.635, allocations: 4 kB / 3.095 GB, free: 116.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004257/5.639, allocations: 1.446 MB / 3.096 GB, free: 114.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/5.642, allocations: 264.6 kB / 3.097 GB, free: 114.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009893/5.652, allocations: 3.587 MB / 3.1 GB, free: 111 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/5.653, allocations: 1.167 MB / 3.101 GB, free: 109.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003024/5.656, allocations: 476.5 kB / 3.102 GB, free: 109.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000977/5.657, allocations: 155.3 kB / 3.102 GB, free: 109.2 MB / 1.167 GB Notification: Performance of SimCode: time 3.186e-06/5.657, allocations: 0 / 3.102 GB, free: 109.2 MB / 1.167 GB Notification: Performance of Templates: time 0.05058/5.708, allocations: 27.97 MB / 3.129 GB, free: 81.3 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches