Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.148/2.148, allocations: 390.3 MB / 402.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 168.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.3 MB / 0.7915 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 91.89 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.266e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2723, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.105/6.378, allocations: 2.543 GB / 3.761 GB, free: 212.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/6.378, allocations: 88.77 kB / 3.761 GB, free: 212.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.979/11.36, allocations: 1.423 GB / 5.185 GB, free: 104.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.563e-06/11.36, allocations: 0 / 5.185 GB, free: 104.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001561/11.36, allocations: 41.95 kB / 5.185 GB, free: 104.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003365/11.36, allocations: 1.303 MB / 5.186 GB, free: 103.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/11.36, allocations: 12.03 kB / 5.186 GB, free: 103.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004595/11.36, allocations: 164.6 kB / 5.186 GB, free: 102.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/11.36, allocations: 342 kB / 5.186 GB, free: 102.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/11.37, allocations: 0.9197 MB / 5.187 GB, free: 101.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-05/11.37, allocations: 82.03 kB / 5.187 GB, free: 101.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/11.37, allocations: 104 kB / 5.188 GB, free: 101.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/11.37, allocations: 1.378 MB / 5.189 GB, free: 99.92 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/11.37, allocations: 7.938 kB / 5.189 GB, free: 99.91 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/11.37, allocations: 47.98 kB / 5.189 GB, free: 99.87 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-05/11.37, allocations: 53.8 kB / 5.189 GB, free: 99.82 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/11.37, allocations: 0.9051 MB / 5.19 GB, free: 98.91 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.006778/11.38, allocations: 5.273 MB / 5.195 GB, free: 93.41 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006414/11.38, allocations: 314.4 kB / 5.195 GB, free: 93.08 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004094/11.38, allocations: 241.6 kB / 5.196 GB, free: 92.84 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/11.38, allocations: 1.087 MB / 5.197 GB, free: 91.53 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/11.38, allocations: 38.56 kB / 5.197 GB, free: 91.48 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 2.845e-06/11.38, allocations: 0 / 5.197 GB, free: 91.48 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.001774/11.38, allocations: 0.5664 MB / 5.197 GB, free: 90.91 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/11.38, allocations: 85.11 kB / 5.197 GB, free: 90.81 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/11.38, allocations: 1.414 MB / 5.199 GB, free: 89.39 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/11.38, allocations: 33.7 kB / 5.199 GB, free: 89.35 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/11.38, allocations: 0.558 MB / 5.199 GB, free: 88.79 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/11.38, allocations: 98.5 kB / 5.199 GB, free: 88.69 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/11.38, allocations: 4 kB / 5.199 GB, free: 88.68 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.532e-05/11.38, allocations: 322 kB / 5.2 GB, free: 88.36 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/11.38, allocations: 159.8 kB / 5.2 GB, free: 88.21 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/11.38, allocations: 306.7 kB / 5.2 GB, free: 87.85 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/11.39, allocations: 195.8 kB / 5.2 GB, free: 87.66 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/11.39, allocations: 0 / 5.2 GB, free: 87.66 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009462/11.39, allocations: 0.5424 MB / 5.201 GB, free: 87.11 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/11.39, allocations: 5.562 kB / 5.201 GB, free: 87.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/11.39, allocations: 4.25 kB / 5.201 GB, free: 87.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/11.39, allocations: 8 kB / 5.201 GB, free: 87.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/11.39, allocations: 63.91 kB / 5.201 GB, free: 87.03 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/11.39, allocations: 11.88 kB / 5.201 GB, free: 87.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/11.39, allocations: 110.5 kB / 5.201 GB, free: 86.91 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/11.39, allocations: 31.98 kB / 5.201 GB, free: 86.88 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001766/11.39, allocations: 124.9 kB / 5.201 GB, free: 86.75 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/11.39, allocations: 142.3 kB / 5.201 GB, free: 86.61 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008962/11.39, allocations: 418.8 kB / 5.202 GB, free: 86.17 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/11.39, allocations: 4 kB / 5.202 GB, free: 86.17 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/11.39, allocations: 0 / 5.202 GB, free: 86.17 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/11.39, allocations: 4 kB / 5.202 GB, free: 86.16 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004108/11.39, allocations: 2.494 MB / 5.204 GB, free: 83.49 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/11.39, allocations: 4 kB / 5.204 GB, free: 83.49 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/11.39, allocations: 51.98 kB / 5.204 GB, free: 83.44 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/11.39, allocations: 8 kB / 5.204 GB, free: 83.43 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/11.39, allocations: 12 kB / 5.204 GB, free: 83.42 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/11.39, allocations: 15.92 kB / 5.204 GB, free: 83.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/11.39, allocations: 11.94 kB / 5.204 GB, free: 83.39 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/11.4, allocations: 0.9766 MB / 5.205 GB, free: 82.15 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007555/11.4, allocations: 303.2 kB / 5.205 GB, free: 81.83 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/11.4, allocations: 16 kB / 5.206 GB, free: 81.82 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/11.4, allocations: 16 kB / 5.206 GB, free: 81.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/11.4, allocations: 47.75 kB / 5.206 GB, free: 81.75 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/11.4, allocations: 12 kB / 5.206 GB, free: 81.74 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00199/11.4, allocations: 1.166 MB / 5.207 GB, free: 80.58 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/11.4, allocations: 0 / 5.207 GB, free: 80.58 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002948/11.4, allocations: 0.5113 MB / 5.207 GB, free: 80.07 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006382/11.41, allocations: 5.133 MB / 5.212 GB, free: 74.65 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007828/11.41, allocations: 335.6 kB / 5.213 GB, free: 74.32 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/11.41, allocations: 8.438 kB / 5.213 GB, free: 74.32 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/11.41, allocations: 155.7 kB / 5.213 GB, free: 74.16 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005469/11.41, allocations: 0.8505 MB / 5.214 GB, free: 73.32 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/11.42, allocations: 1.947 MB / 5.215 GB, free: 71.25 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009573/11.42, allocations: 1.228 MB / 5.217 GB, free: 69.99 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001399/11.42, allocations: 302.7 kB / 5.217 GB, free: 69.69 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006842/11.42, allocations: 451.3 kB / 5.217 GB, free: 69.25 MB / 1.167 GB Notification: Performance of SimCode: time 1.052e-06/11.42, allocations: 0 / 5.217 GB, free: 69.25 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1079/11.53, allocations: 74.51 MB / 5.29 GB, free: 10.91 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/11.53, allocations: 203.3 kB / 5.29 GB, free: 10.68 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.162/15.69, allocations: 4 kB / 5.29 GB, free: 10.68 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat does not exist to compare? outputFormat=mat