Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",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.001514/0.001514, allocations: 99.86 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.001662/0.001662, allocations: 177.3 kB / 15.94 MB, free: 228 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.295/1.295, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.205/2.205, allocations: 409.2 MB / 0.6838 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.000321, allocations: 16 kB / 0.8375 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5163/0.5166, allocations: 146.8 MB / 0.9809 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1363/0.653, allocations: 147.1 MB / 1.125 GB, free: 2.703 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.6633, allocations: 9.309 MB / 1.134 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007472/0.6641, allocations: 27.81 kB / 1.134 GB, free: 9.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007061/0.6648, allocations: 278.4 kB / 1.134 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.6667, allocations: 0.8793 MB / 1.135 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.6693, allocations: 1.165 MB / 1.136 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.6707, allocations: 1.369 MB / 1.137 GB, free: 5.66 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.6718, allocations: 1.038 MB / 1.138 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.6734, allocations: 1.051 MB / 1.139 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.674, allocations: 0.5249 MB / 1.14 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.304e-05/0.6741, allocations: 47.94 kB / 1.14 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.6754, allocations: 0.7412 MB / 1.141 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.6757, allocations: 302.9 kB / 1.141 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.6759, allocations: 277 kB / 1.141 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.6773, allocations: 1.703 MB / 1.143 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.6773, allocations: 0 / 1.143 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6773, allocations: 0 / 1.143 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.6773, allocations: 0 / 1.143 GB, free: 15.95 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002378/0.6797, allocations: 1.569 MB / 1.144 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.6797, allocations: 11.97 kB / 1.144 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.6799, allocations: 185.3 kB / 1.145 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.6818, allocations: 373.7 kB / 1.145 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.6831, allocations: 0.9142 MB / 1.146 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.6831, allocations: 86.33 kB / 1.146 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.6833, allocations: 116 kB / 1.146 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.6851, allocations: 1.29 MB / 1.147 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.6852, allocations: 0 / 1.147 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.6853, allocations: 52 kB / 1.147 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.6853, allocations: 28 kB / 1.147 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.6874, allocations: 1.445 MB / 1.149 GB, free: 9.711 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00509/0.6925, allocations: 3.872 MB / 1.152 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.6946, allocations: 1.254 MB / 1.154 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004767/0.695, allocations: 255.1 kB / 1.154 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009591/0.696, allocations: 0.6644 MB / 1.155 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=106): time 2.344e-06/0.696, allocations: 0 / 1.155 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of matching and sorting (n=106): time 0.003378/0.6994, allocations: 1.611 MB / 1.156 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/0.6995, allocations: 200.9 kB / 1.156 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009288/0.7004, allocations: 0.8672 MB / 1.157 GB, free: 0.6719 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/0.7005, allocations: 49.7 kB / 1.157 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.7009, allocations: 0.5159 MB / 1.158 GB, free: 96 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.7011, allocations: 350.9 kB / 1.158 GB, free: 15.75 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.7012, allocations: 20 kB / 1.158 GB, free: 15.73 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7013, allocations: 341.9 kB / 1.158 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006329/0.7019, allocations: 361.8 kB / 1.159 GB, free: 15.04 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007299/0.7026, allocations: 0.4932 MB / 1.159 GB, free: 14.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/0.7034, allocations: 422.8 kB / 1.16 GB, free: 14.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7034, allocations: 0 / 1.16 GB, free: 14.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002056/0.7054, allocations: 1.114 MB / 1.161 GB, free: 12.97 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.7055, allocations: 7.953 kB / 1.161 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.7055, allocations: 4.094 kB / 1.161 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005204/0.706, allocations: 84.77 kB / 1.161 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008801/0.7069, allocations: 227.7 kB / 1.161 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3675/1.074, allocations: 1.553 MB / 1.163 GB, free: 10.96 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.076, allocations: 143 kB / 1.163 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/1.076, allocations: 47.97 kB / 1.163 GB, free: 10.77 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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.000561/1.077, allocations: 317.5 kB / 1.163 GB, free: 10.45 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/1.077, allocations: 122.5 kB / 1.163 GB, free: 10.33 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/1.08, allocations: 1.517 MB / 1.165 GB, free: 8.789 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.08, allocations: 12 kB / 1.165 GB, free: 8.777 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/1.08, allocations: 0 / 1.165 GB, free: 8.777 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/1.08, allocations: 7.969 kB / 1.165 GB, free: 8.77 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/1.084, allocations: 2.882 MB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.084, allocations: 3.984 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/1.085, allocations: 203.7 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/1.085, allocations: 88.98 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/1.085, allocations: 35.97 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/1.087, allocations: 1.571 MB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.087, allocations: 4 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/1.09, allocations: 1.966 MB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/1.09, allocations: 371.1 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/1.091, allocations: 28 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008644/1.091, allocations: 103.8 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/1.092, allocations: 88.81 kB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-05/1.092, allocations: 51.97 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007314/1.092, allocations: 0.6183 MB / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.092, allocations: 4 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.001015/1.094, allocations: 439.1 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004752/1.098, allocations: 3.671 MB / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001943/1.1, allocations: 1.058 MB / 1.178 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.1, allocations: 0 / 1.178 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.101, allocations: 0.6686 MB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/1.103, allocations: 464.1 kB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.115, allocations: 8.156 MB / 1.187 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/1.116, allocations: 1.185 MB / 1.188 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001142/1.117, allocations: 369.6 kB / 1.188 GB, free: 172 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/1.118, allocations: 0.5188 MB / 1.189 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/1.118, allocations: 0 / 1.189 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.051/3.169, allocations: 32.26 MB / 1.22 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003165/3.17, allocations: 246.7 kB / 1.22 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.256/7.426, allocations: 0 / 1.22 GB, free: 15.5 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat does not exist to compare? outputFormat=mat