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.001409/0.001409, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001744/0.001744, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 239.9 MB, free: 5.449 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.714/2.714, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.0005058, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.89, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.005566/0.8957, allocations: 4.421 MB / 0.9578 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1578/1.053, allocations: 128 MB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001371/1.055, allocations: 19.88 kB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004762/1.055, allocations: 99.09 kB / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/1.058, allocations: 0.567 MB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/1.06, allocations: 0.7275 MB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002023/1.062, allocations: 1.131 MB / 1.085 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/1.063, allocations: 0.6755 MB / 1.086 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/1.064, allocations: 494 kB / 1.086 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007231/1.064, allocations: 0.5015 MB / 1.087 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/1.065, allocations: 40 kB / 1.087 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/1.066, allocations: 431.5 kB / 1.087 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/1.066, allocations: 294.8 kB / 1.088 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003433/1.067, allocations: 272.9 kB / 1.088 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/1.069, allocations: 1.761 MB / 1.09 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/1.069, allocations: 0 / 1.09 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.468e-06/1.069, allocations: 0 / 1.09 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.547e-05/1.069, allocations: 3.938 kB / 1.09 GB, free: 4.41 MB / 0.8419 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.003347/1.072, allocations: 1.586 MB / 1.091 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.072, allocations: 8.031 kB / 1.091 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009229/1.081, allocations: 1.582 MB / 1.093 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/1.084, allocations: 1 MB / 1.094 GB, free: 128 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.363e-05/1.084, allocations: 94.67 kB / 1.094 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/1.084, allocations: 136 kB / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005911/1.09, allocations: 2.311 MB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/1.09, allocations: 0 / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/1.09, allocations: 63.95 kB / 1.096 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/1.09, allocations: 32 kB / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008289/1.099, allocations: 3.199 MB / 1.099 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/1.109, allocations: 5.166 MB / 1.104 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008993/1.118, allocations: 3.148 MB / 1.108 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.119, allocations: 0.6222 MB / 1.108 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004771/1.124, allocations: 1.551 MB / 1.11 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=133): time 6.102e-06/1.124, allocations: 0 / 1.11 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133): time 0.01204/1.136, allocations: 3.947 MB / 1.114 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.136, allocations: 197.2 kB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/1.138, allocations: 0.8215 MB / 1.114 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002077/1.138, allocations: 45.7 kB / 1.115 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006108/1.139, allocations: 0.5201 MB / 1.115 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004925/1.139, allocations: 429.8 kB / 1.115 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/1.139, allocations: 24 kB / 1.115 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.14, allocations: 349.9 kB / 1.116 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003244/1.143, allocations: 1.138 MB / 1.117 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00343/1.146, allocations: 1.288 MB / 1.118 GB, free: 6.629 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/1.15, allocations: 1.119 MB / 1.119 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.15, allocations: 4 kB / 1.119 GB, free: 5.508 MB / 0.8731 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007814/1.157, allocations: 2.651 MB / 1.122 GB, free: 2.844 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.157, allocations: 7.984 kB / 1.122 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.157, allocations: 7.938 kB / 1.122 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/1.158, allocations: 88.73 kB / 1.122 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/1.161, allocations: 487.4 kB / 1.122 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/1.163, allocations: 1.543 MB / 1.124 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/1.165, allocations: 356.5 kB / 1.124 GB, free: 240 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003191/1.166, allocations: 59.94 kB / 1.124 GB, free: 180 kB / 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: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 142 * 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.001153/1.167, allocations: 348.4 kB / 1.125 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/1.167, allocations: 110.6 kB / 1.125 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009266/1.177, allocations: 3.122 MB / 1.128 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/1.177, allocations: 12 kB / 1.128 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.177, allocations: 4 kB / 1.128 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/1.177, allocations: 7.969 kB / 1.128 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/1.18, allocations: 1.835 MB / 1.13 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.18, allocations: 3.953 kB / 1.13 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/1.182, allocations: 475.3 kB / 1.13 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005748/1.183, allocations: 84.77 kB / 1.13 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002351/1.183, allocations: 51.94 kB / 1.13 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/1.185, allocations: 1.563 MB / 1.132 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.185, allocations: 3.984 kB / 1.132 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008348/1.193, allocations: 2.807 MB / 1.134 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.195, allocations: 482.9 kB / 1.135 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004835/1.195, allocations: 28 kB / 1.135 GB, free: 5.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.198, allocations: 307.7 kB / 1.135 GB, free: 4.707 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/1.198, allocations: 101.2 kB / 1.135 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/1.198, allocations: 63.94 kB / 1.135 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001138/1.199, allocations: 0.5809 MB / 1.136 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.199, allocations: 0 / 1.136 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001898/1.201, allocations: 490.9 kB / 1.136 GB, free: 3.488 MB / 0.8887 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 (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.00179/1.203, allocations: 0.6304 MB / 1.137 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007999/1.211, allocations: 2.715 MB / 1.14 GB, free: 312 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.211, allocations: 4 kB / 1.14 GB, free: 308 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.004005/1.215, allocations: 1.505 MB / 1.141 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.217, allocations: 275.2 kB / 1.141 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/1.225, allocations: 3.83 MB / 1.145 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/1.227, allocations: 1.224 MB / 1.146 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002253/1.229, allocations: 485.4 kB / 1.147 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/1.23, allocations: 163.3 kB / 1.147 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of SimCode: time 1.663e-06/1.23, allocations: 3.938 kB / 1.147 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.03971/1.269, allocations: 21.88 MB / 1.168 GB, free: 3.047 MB / 0.92 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","../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches