Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001374/0.001374, allocations: 99.7 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.001658/0.001658, 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.331/1.331, 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 11.0.0-master/package.mo): time 2.539/2.539, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 12 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.584/0.5843, allocations: 153.6 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.005292/0.5896, allocations: 4.279 MB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1333/0.723, allocations: 127.8 MB / 1.15 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009697/0.724, allocations: 15.94 kB / 1.15 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.7245, allocations: 95.11 kB / 1.15 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.7265, allocations: 0.5519 MB / 1.15 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.7286, allocations: 0.7262 MB / 1.151 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001799/0.7304, allocations: 1.096 MB / 1.152 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008892/0.7313, allocations: 0.5837 MB / 1.153 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006472/0.732, allocations: 482.1 kB / 1.153 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006119/0.7326, allocations: 497.6 kB / 1.154 GB, free: 8.641 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.7327, allocations: 44 kB / 1.154 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.7337, allocations: 427.5 kB / 1.154 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.734, allocations: 278.9 kB / 1.154 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.7343, allocations: 257 kB / 1.155 GB, free: 7.648 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.736, allocations: 1.559 MB / 1.156 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.736, allocations: 0 / 1.156 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.563e-06/0.736, allocations: 0 / 1.156 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.716e-05/0.7361, allocations: 4 kB / 1.156 GB, free: 6.082 MB / 0.9044 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.003011/0.7391, allocations: 1.53 MB / 1.158 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.7391, allocations: 11.98 kB / 1.158 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009487/0.7486, allocations: 1.567 MB / 1.159 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.7505, allocations: 0.9261 MB / 1.16 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.7506, allocations: 94.44 kB / 1.16 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.7508, allocations: 120 kB / 1.16 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005208/0.756, allocations: 2.139 MB / 1.162 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.7561, allocations: 4 kB / 1.162 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.7562, allocations: 48 kB / 1.163 GB, free: 15.47 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.7563, allocations: 32 kB / 1.163 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007951/0.7642, allocations: 2.995 MB / 1.165 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009133/0.7734, allocations: 4.571 MB / 1.17 GB, free: 7.797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00843/0.7819, allocations: 3.016 MB / 1.173 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005679/0.7825, allocations: 0.6102 MB / 1.173 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003764/0.7862, allocations: 1.465 MB / 1.175 GB, free: 2.535 MB / 0.92 GB Notification: Performance of pre-optimization done (n=132): time 3.146e-06/0.7863, allocations: 0 / 1.175 GB, free: 2.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=132): time 0.01175/0.798, allocations: 3.717 MB / 1.179 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.7982, allocations: 197.2 kB / 1.179 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.7992, allocations: 0.7667 MB / 1.179 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.7993, allocations: 49.7 kB / 1.18 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.7997, allocations: 484.9 kB / 1.18 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.8001, allocations: 433.7 kB / 1.18 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-05/0.8002, allocations: 24 kB / 1.18 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8004, allocations: 357.9 kB / 1.181 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/0.8036, allocations: 1.052 MB / 1.182 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00337/0.807, allocations: 1.202 MB / 1.183 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003284/0.8103, allocations: 1.049 MB / 1.184 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.8103, allocations: 0 / 1.184 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007614/0.8179, allocations: 2.491 MB / 1.186 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.818, allocations: 11.98 kB / 1.186 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.818, allocations: 0 / 1.186 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005576/0.8186, allocations: 84.84 kB / 1.187 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/0.8211, allocations: 483.3 kB / 1.187 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.8232, allocations: 1.546 MB / 1.188 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/0.8257, allocations: 355.1 kB / 1.189 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.8259, allocations: 63.94 kB / 1.189 GB, free: 3.93 MB / 0.9356 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.incAng.decAng.tNext,incAng.decAng.tNext,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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.0007486/0.8266, allocations: 327.3 kB / 1.189 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.8269, allocations: 114.5 kB / 1.189 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008504/0.8354, allocations: 2.957 MB / 1.192 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.8354, allocations: 16 kB / 1.192 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.8354, allocations: 0 / 1.192 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.8355, allocations: 7.969 kB / 1.192 GB, free: 500 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.846, allocations: 4.528 MB / 1.197 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.882e-06/0.8461, allocations: 0 / 1.197 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002642/0.8487, allocations: 471.4 kB / 1.197 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006109/0.8494, allocations: 96.66 kB / 1.197 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002742/0.8497, allocations: 47.94 kB / 1.197 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.8516, allocations: 1.579 MB / 1.199 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8517, allocations: 0 / 1.199 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007898/0.8596, allocations: 2.706 MB / 1.201 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.8606, allocations: 447 kB / 1.202 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.8609, allocations: 28.06 kB / 1.202 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/0.8631, allocations: 304.2 kB / 1.202 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.8633, allocations: 101.2 kB / 1.202 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/0.8634, allocations: 67.92 kB / 1.202 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000814/0.8643, allocations: 0.5498 MB / 1.203 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8643, allocations: 4 kB / 1.203 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001433/0.8657, allocations: 475.1 kB / 1.203 GB, free: 4.883 MB / 0.9512 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 (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.001536/0.8672, allocations: 0.6482 MB / 1.204 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00761/0.8749, allocations: 2.528 MB / 1.206 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.8749, allocations: 4 kB / 1.206 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003924/0.8789, allocations: 1.423 MB / 1.208 GB, free: 432 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.8802, allocations: 258.9 kB / 1.208 GB, free: 180 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007739/0.888, allocations: 3.587 MB / 1.212 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/0.8888, allocations: 1.19 MB / 1.213 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001941/0.8907, allocations: 477 kB / 1.213 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/0.8913, allocations: 171.3 kB / 1.213 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.8914, allocations: 0 / 1.213 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of Templates: time 0.03437/0.9257, allocations: 20.87 MB / 1.234 GB, free: 5.996 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches