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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_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.001061/0.001061, allocations: 92 kB / 15.06 MB, free: 1.098 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.001435/0.001435, allocations: 172.7 kB / 15.95 MB, free: 208 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.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.667/2.667, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003945, allocations: 8 kB / 0.8378 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7415/0.7419, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007947/0.7499, allocations: 4.55 MB / 0.9856 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1881/0.9381, allocations: 137.2 MB / 1.12 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.9395, allocations: 19.88 kB / 1.12 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008493/0.9403, allocations: 142.8 kB / 1.12 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.9429, allocations: 0.5081 MB / 1.12 GB, free: 7.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.946, allocations: 0.7334 MB / 1.121 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002575/0.9486, allocations: 1.683 MB / 1.123 GB, free: 5 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.95, allocations: 0.6792 MB / 1.123 GB, free: 4.297 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.9513, allocations: 497.8 kB / 1.124 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.9525, allocations: 0.5559 MB / 1.124 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.9528, allocations: 40 kB / 1.124 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.9541, allocations: 475.5 kB / 1.125 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004138/0.9546, allocations: 298.7 kB / 1.125 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.955, allocations: 272.9 kB / 1.125 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.9571, allocations: 1.761 MB / 1.127 GB, free: 424 kB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.9571, allocations: 0 / 1.127 GB, free: 424 kB / 0.8731 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9571, allocations: 0 / 1.127 GB, free: 424 kB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.414e-05/0.9572, allocations: 0 / 1.127 GB, free: 424 kB / 0.8731 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.003941/0.9612, allocations: 1.594 MB / 1.129 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.9612, allocations: 12.03 kB / 1.129 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005401/0.9618, allocations: 198.5 kB / 1.129 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008552/0.9704, allocations: 1.582 MB / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.9724, allocations: 0.9927 MB / 1.131 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.369e-05/0.9725, allocations: 106.6 kB / 1.131 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.9727, allocations: 135.9 kB / 1.132 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005378/0.9781, allocations: 2.315 MB / 1.134 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.9782, allocations: 0 / 1.134 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.9784, allocations: 56 kB / 1.134 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.9784, allocations: 36 kB / 1.134 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007711/0.9861, allocations: 3.199 MB / 1.137 GB, free: 6.012 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.9967, allocations: 5.167 MB / 1.142 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007939/1.005, allocations: 3.148 MB / 1.145 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003217/1.008, allocations: 1.242 MB / 1.146 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/1.009, allocations: 0.6105 MB / 1.147 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003762/1.012, allocations: 1.551 MB / 1.148 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=133): time 4.168e-06/1.012, allocations: 0 / 1.148 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=133): time 0.01092/1.023, allocations: 3.957 MB / 1.152 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/1.024, allocations: 193.2 kB / 1.153 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/1.025, allocations: 0.8099 MB / 1.153 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001739/1.025, allocations: 49.7 kB / 1.153 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/1.026, allocations: 0.5201 MB / 1.154 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/1.026, allocations: 425.7 kB / 1.154 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.026, allocations: 24 kB / 1.154 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.026, allocations: 357.9 kB / 1.155 GB, free: 3.641 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/1.03, allocations: 1.138 MB / 1.156 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/1.033, allocations: 1.296 MB / 1.157 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/1.036, allocations: 1.119 MB / 1.158 GB, free: 56 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.036, allocations: 3.938 kB / 1.158 GB, free: 52 kB / 0.9044 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.007268/1.043, allocations: 2.651 MB / 1.161 GB, free: 13.39 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.043, allocations: 4 kB / 1.161 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.043, allocations: 0 / 1.161 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005511/1.044, allocations: 84.84 kB / 1.161 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.046, allocations: 483.4 kB / 1.161 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/1.048, allocations: 1.549 MB / 1.163 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/1.05, allocations: 347.5 kB / 1.163 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/1.051, allocations: 59.94 kB / 1.163 GB, free: 10.74 MB / 0.92 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.0009785/1.052, allocations: 351.3 kB / 1.163 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/1.052, allocations: 114.6 kB / 1.164 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008942/1.061, allocations: 3.118 MB / 1.167 GB, free: 7.141 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/1.061, allocations: 16 kB / 1.167 GB, free: 7.125 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.061, allocations: 4 kB / 1.167 GB, free: 7.121 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.451e-05/1.061, allocations: 7.969 kB / 1.167 GB, free: 7.113 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003396/1.065, allocations: 1.823 MB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.065, allocations: 0 / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002435/1.067, allocations: 475.3 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/1.068, allocations: 80.78 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002539/1.068, allocations: 51.94 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/1.07, allocations: 1.559 MB / 1.171 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.07, allocations: 4.031 kB / 1.171 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008166/1.078, allocations: 2.795 MB / 1.173 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.079, allocations: 491 kB / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003889/1.08, allocations: 28 kB / 1.174 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.082, allocations: 310.4 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/1.082, allocations: 101.2 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.083, allocations: 63.94 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001184/1.084, allocations: 0.5848 MB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/1.084, allocations: 0 / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001639/1.085, allocations: 494.9 kB / 1.175 GB, free: 14.06 MB / 0.9356 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.009698/1.095, allocations: 3.883 MB / 1.179 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007715/1.103, allocations: 2.711 MB / 1.182 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/1.103, allocations: 4 kB / 1.182 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004174/1.107, allocations: 1.505 MB / 1.183 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.109, allocations: 306.8 kB / 1.183 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02664/1.136, allocations: 10.61 MB / 1.194 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/1.137, allocations: 1.195 MB / 1.195 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002584/1.14, allocations: 477.4 kB / 1.195 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.141, allocations: 0.5812 MB / 1.196 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of SimCode: time 1.423e-06/1.141, allocations: 0 / 1.196 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06795/1.209, allocations: 32.36 MB / 1.228 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/1.209, allocations: 269 kB / 1.228 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/4.134, allocations: 3.938 kB / 1.228 GB, free: 8.277 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat