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.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.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_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.001304/0.001304, 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.001703/0.001703, 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.386/1.386, allocations: 223.2 MB / 240 MB, free: 5.418 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 2.282/2.282, allocations: 390.4 MB / 0.6655 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7767, allocations: 142.3 MB / 0.9538 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.004862/0.7816, allocations: 4.557 MB / 0.9583 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1491/0.9307, allocations: 137.2 MB / 1.092 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00085/0.9316, allocations: 23.81 kB / 1.092 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.9321, allocations: 154.8 kB / 1.092 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.9335, allocations: 0.4927 MB / 1.093 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.9353, allocations: 0.7391 MB / 1.094 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001581/0.9369, allocations: 1.671 MB / 1.095 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000861/0.9378, allocations: 0.6832 MB / 1.096 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006129/0.9384, allocations: 489.8 kB / 1.096 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.939, allocations: 0.5637 MB / 1.097 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.9391, allocations: 40 kB / 1.097 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009164/0.9401, allocations: 471.5 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002745/0.9404, allocations: 298.8 kB / 1.098 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.9406, allocations: 272.9 kB / 1.098 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.9421, allocations: 1.761 MB / 1.1 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.9421, allocations: 0 / 1.1 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9421, allocations: 0 / 1.1 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.9421, allocations: 0 / 1.1 GB, free: 10.3 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.002675/0.9448, allocations: 1.592 MB / 1.101 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.9449, allocations: 12.03 kB / 1.101 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002203/0.9451, allocations: 202.5 kB / 1.102 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008351/0.9534, allocations: 1.578 MB / 1.103 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.9553, allocations: 0.9926 MB / 1.104 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.859e-05/0.9554, allocations: 106.7 kB / 1.104 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.9556, allocations: 128 kB / 1.104 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005067/0.9607, allocations: 2.315 MB / 1.107 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.9607, allocations: 7.891 kB / 1.107 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.9609, allocations: 60 kB / 1.107 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.9609, allocations: 36 kB / 1.107 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007379/0.9683, allocations: 3.199 MB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008619/0.9769, allocations: 5.167 MB / 1.115 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007432/0.9844, allocations: 3.144 MB / 1.118 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003011/0.9874, allocations: 1.238 MB / 1.119 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005586/0.988, allocations: 0.6105 MB / 1.12 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003406/0.9914, allocations: 1.551 MB / 1.121 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=133): time 3.386e-06/0.9914, allocations: 4 kB / 1.121 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=133): time 0.01026/1.002, allocations: 3.949 MB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/1.002, allocations: 205.2 kB / 1.125 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/1.003, allocations: 0.8059 MB / 1.126 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.003, allocations: 49.7 kB / 1.126 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/1.003, allocations: 0.5202 MB / 1.127 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000362/1.004, allocations: 429.8 kB / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/1.004, allocations: 24 kB / 1.127 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.004, allocations: 349.9 kB / 1.127 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/1.007, allocations: 1.142 MB / 1.128 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/1.01, allocations: 1.292 MB / 1.13 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/1.013, allocations: 1.115 MB / 1.131 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.013, allocations: 3.938 kB / 1.131 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.006706/1.02, allocations: 2.655 MB / 1.133 GB, free: 7.27 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/1.02, allocations: 4 kB / 1.133 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/1.02, allocations: 3.953 kB / 1.133 GB, free: 7.262 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/1.02, allocations: 88.83 kB / 1.133 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/1.022, allocations: 483.3 kB / 1.134 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.024, allocations: 1.537 MB / 1.135 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.026, allocations: 348 kB / 1.136 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/1.026, allocations: 59.94 kB / 1.136 GB, free: 4.629 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.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.0006782/1.027, allocations: 351.3 kB / 1.136 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/1.027, allocations: 114.6 kB / 1.136 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007761/1.035, allocations: 3.122 MB / 1.139 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.035, allocations: 16 kB / 1.139 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.035, allocations: 0 / 1.139 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/1.035, allocations: 7.969 kB / 1.139 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/1.037, allocations: 1.831 MB / 1.141 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.037, allocations: 0 / 1.141 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/1.039, allocations: 471.4 kB / 1.142 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/1.04, allocations: 88.72 kB / 1.142 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/1.04, allocations: 51.92 kB / 1.142 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/1.042, allocations: 1.56 MB / 1.143 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.042, allocations: 0 / 1.143 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006737/1.048, allocations: 2.799 MB / 1.146 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/1.049, allocations: 486.9 kB / 1.146 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/1.049, allocations: 36.05 kB / 1.146 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001825/1.051, allocations: 300.4 kB / 1.147 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/1.051, allocations: 101.2 kB / 1.147 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.051, allocations: 67.94 kB / 1.147 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007483/1.052, allocations: 0.5848 MB / 1.148 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/1.052, allocations: 4 kB / 1.148 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001196/1.053, allocations: 494.9 kB / 1.148 GB, free: 7.941 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,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.008274/1.062, allocations: 3.877 MB / 1.152 GB, free: 4.215 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006496/1.068, allocations: 2.715 MB / 1.154 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.068, allocations: 0 / 1.154 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003378/1.072, allocations: 1.505 MB / 1.156 GB, free: 15.97 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/1.073, allocations: 303.5 kB / 1.156 GB, free: 15.68 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/1.095, allocations: 10.6 MB / 1.167 GB, free: 4.816 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/1.096, allocations: 1.191 MB / 1.168 GB, free: 3.594 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001898/1.098, allocations: 485.4 kB / 1.168 GB, free: 3.117 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.099, allocations: 0.5889 MB / 1.169 GB, free: 2.527 MB / 0.92 GB Notification: Performance of SimCode: time 1.803e-06/1.099, allocations: 0 / 1.169 GB, free: 2.527 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06408/1.163, allocations: 32.37 MB / 1.2 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/1.163, allocations: 253.7 kB / 1.201 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.941, allocations: 3.938 kB / 1.201 GB, free: 2.168 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat