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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008984, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008372/0.0008372, allocations: 168.7 kB / 15.95 MB, free: 204 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.173/1.173, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.995/1.995, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 20 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.5028, allocations: 142.3 MB / 0.9539 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.003901/0.5067, allocations: 4.403 MB / 0.9582 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1213/0.628, allocations: 137.1 MB / 1.092 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006387/0.6287, allocations: 15.94 kB / 1.092 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.6291, allocations: 142.8 kB / 1.092 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.6304, allocations: 0.4967 MB / 1.093 GB, free: 1.645 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.632, allocations: 0.7432 MB / 1.093 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001404/0.6334, allocations: 1.582 MB / 1.095 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007046/0.6341, allocations: 0.5954 MB / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005461/0.6347, allocations: 470 kB / 1.096 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004976/0.6352, allocations: 0.5444 MB / 1.096 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.467e-05/0.6352, allocations: 40 kB / 1.097 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006865/0.6359, allocations: 467.5 kB / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.6362, allocations: 290.9 kB / 1.097 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.6363, allocations: 253 kB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.6375, allocations: 1.57 MB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6375, allocations: 0 / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6375, allocations: 0 / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.6375, allocations: 0 / 1.099 GB, free: 11.09 MB / 0.8575 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.002184/0.6397, allocations: 1.526 MB / 1.1 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.6397, allocations: 8.031 kB / 1.101 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.6399, allocations: 189.8 kB / 1.101 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00714/0.647, allocations: 1.567 MB / 1.102 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.6482, allocations: 0.9223 MB / 1.103 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.793e-05/0.6483, allocations: 90.45 kB / 1.103 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.6484, allocations: 120 kB / 1.103 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.6523, allocations: 2.159 MB / 1.105 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.6524, allocations: 0 / 1.105 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.6525, allocations: 52 kB / 1.105 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.6525, allocations: 28 kB / 1.105 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006042/0.6586, allocations: 2.995 MB / 1.108 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006505/0.6651, allocations: 4.561 MB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006258/0.6714, allocations: 3 MB / 1.116 GB, free: 9.578 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002455/0.6738, allocations: 1.155 MB / 1.117 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.6743, allocations: 0.6093 MB / 1.118 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002853/0.6771, allocations: 1.469 MB / 1.119 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=132): time 2.364e-06/0.6771, allocations: 4 kB / 1.119 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of matching and sorting (n=132): time 0.008749/0.6859, allocations: 3.711 MB / 1.123 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.686, allocations: 193.2 kB / 1.123 GB, free: 2.223 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007744/0.6868, allocations: 0.7667 MB / 1.124 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.6869, allocations: 49.7 kB / 1.124 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.6872, allocations: 484.9 kB / 1.124 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.6875, allocations: 433.7 kB / 1.124 GB, free: 492 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/0.6876, allocations: 24 kB / 1.124 GB, free: 468 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6877, allocations: 357.9 kB / 1.125 GB, free: 104 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.6901, allocations: 1.052 MB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.6927, allocations: 1.198 MB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.6951, allocations: 1.052 MB / 1.128 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.6951, allocations: 0 / 1.128 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005713/0.7009, allocations: 2.491 MB / 1.13 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7009, allocations: 4 kB / 1.13 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7009, allocations: 8.047 kB / 1.13 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004469/0.7014, allocations: 80.78 kB / 1.131 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/0.7033, allocations: 491.2 kB / 1.131 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1705/0.8739, allocations: 1.531 MB / 1.133 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.8761, allocations: 355.9 kB / 1.133 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.8762, allocations: 67.88 kB / 1.133 GB, free: 7.605 MB / 0.8887 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.0005514/0.8768, allocations: 331.5 kB / 1.133 GB, free: 7.273 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.877, allocations: 110.6 kB / 1.133 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007026/0.884, allocations: 2.965 MB / 1.136 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.8841, allocations: 12 kB / 1.136 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.8841, allocations: 0 / 1.136 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.8841, allocations: 7.969 kB / 1.136 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007895/0.892, allocations: 4.536 MB / 1.141 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.892, allocations: 0 / 1.141 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/0.8939, allocations: 471.4 kB / 1.141 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004004/0.8943, allocations: 84.72 kB / 1.141 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.8944, allocations: 55.92 kB / 1.141 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.8959, allocations: 1.563 MB / 1.143 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8959, allocations: 7.922 kB / 1.143 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005848/0.9017, allocations: 2.702 MB / 1.145 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/0.9023, allocations: 450.9 kB / 1.146 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.9025, allocations: 28 kB / 1.146 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.9041, allocations: 305.1 kB / 1.146 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.9043, allocations: 109.1 kB / 1.146 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.9044, allocations: 59.94 kB / 1.146 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005696/0.905, allocations: 0.5459 MB / 1.147 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.905, allocations: 4 kB / 1.147 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009864/0.906, allocations: 479.1 kB / 1.147 GB, free: 8.562 MB / 0.9044 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.007171/0.9132, allocations: 3.793 MB / 1.151 GB, free: 4.922 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005497/0.9187, allocations: 2.539 MB / 1.154 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.9187, allocations: 4 kB / 1.154 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002897/0.9216, allocations: 1.419 MB / 1.155 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.9227, allocations: 286.5 kB / 1.155 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/0.9408, allocations: 9.944 MB / 1.165 GB, free: 6.469 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.9414, allocations: 1.162 MB / 1.166 GB, free: 5.281 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00152/0.9429, allocations: 485 kB / 1.167 GB, free: 4.805 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008518/0.9438, allocations: 0.5382 MB / 1.167 GB, free: 4.266 MB / 0.92 GB Notification: Performance of SimCode: time 2.9e-07/0.9438, allocations: 0 / 1.167 GB, free: 4.266 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.779/5.722, allocations: 30.83 MB / 1.197 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/5.723, allocations: 279.9 kB / 1.197 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.023/9.745, allocations: 0 / 1.197 GB, free: 5.438 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat