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.342/2.342, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001097/0.001097, allocations: 184 kB / 0.4901 GB, free: 2.191 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.1 MB / 0.7992 GB, free: 15.61 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.001241/0.001241, allocations: 111.6 kB / 0.9396 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 8.938 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2833, allocations: 143 MB / 1.229 GB, free: 85.33 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.179/6.462, allocations: 2.543 GB / 3.772 GB, free: 264.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/6.462, allocations: 90.41 kB / 3.772 GB, free: 264.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.566/11.03, allocations: 1.423 GB / 5.195 GB, free: 162.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.903e-06/11.03, allocations: 0 / 5.195 GB, free: 162.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.217e-05/11.03, allocations: 43.92 kB / 5.195 GB, free: 162.7 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.002528/11.03, allocations: 1.446 MB / 5.196 GB, free: 161.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/11.03, allocations: 15.97 kB / 5.196 GB, free: 161.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/11.03, allocations: 160.6 kB / 5.197 GB, free: 161.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/11.03, allocations: 337.8 kB / 5.197 GB, free: 160.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/11.03, allocations: 0.9236 MB / 5.198 GB, free: 159.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/11.03, allocations: 78.03 kB / 5.198 GB, free: 159.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/11.03, allocations: 100 kB / 5.198 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/11.04, allocations: 1.406 MB / 5.199 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/11.04, allocations: 3.938 kB / 5.199 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.53e-05/11.04, allocations: 51.98 kB / 5.199 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/11.04, allocations: 45.88 kB / 5.199 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/11.04, allocations: 0.9206 MB / 5.2 GB, free: 157.1 MB / 1.167 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.004297/11.04, allocations: 5.277 MB / 5.206 GB, free: 151.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/11.04, allocations: 317 kB / 5.206 GB, free: 151.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008552/11.04, allocations: 1.079 MB / 5.207 GB, free: 149.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/11.04, allocations: 34.56 kB / 5.207 GB, free: 149.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/11.04, allocations: 0 / 5.207 GB, free: 149.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.001354/11.04, allocations: 0.7271 MB / 5.208 GB, free: 149.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/11.04, allocations: 81.11 kB / 5.208 GB, free: 149 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/11.05, allocations: 1.439 MB / 5.209 GB, free: 147.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/11.05, allocations: 33.7 kB / 5.209 GB, free: 147.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/11.05, allocations: 0.5466 MB / 5.21 GB, free: 147 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.867e-05/11.05, allocations: 106.5 kB / 5.21 GB, free: 146.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/11.05, allocations: 8 kB / 5.21 GB, free: 146.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.828e-05/11.05, allocations: 314 kB / 5.21 GB, free: 146.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/11.05, allocations: 151.9 kB / 5.21 GB, free: 146.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/11.05, allocations: 318 kB / 5.211 GB, free: 146.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/11.05, allocations: 191.8 kB / 5.211 GB, free: 145.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/11.05, allocations: 0 / 5.211 GB, free: 145.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006749/11.05, allocations: 0.5464 MB / 5.211 GB, free: 145.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/11.05, allocations: 16.98 kB / 5.211 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/11.05, allocations: 4.25 kB / 5.211 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/11.05, allocations: 11.98 kB / 5.211 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/11.05, allocations: 51.92 kB / 5.211 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/11.05, allocations: 4 kB / 5.211 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/11.05, allocations: 118.5 kB / 5.211 GB, free: 145.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/11.05, allocations: 27.98 kB / 5.211 GB, free: 145.1 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 () * Number of clocked 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.0004069/11.05, allocations: 383 kB / 5.212 GB, free: 144.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/11.05, allocations: 130.3 kB / 5.212 GB, free: 144.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/11.05, allocations: 430.7 kB / 5.212 GB, free: 144.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/11.05, allocations: 4 kB / 5.212 GB, free: 144.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/11.05, allocations: 96 / 5.212 GB, free: 144.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/11.05, allocations: 11.91 kB / 5.212 GB, free: 144.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/11.05, allocations: 2.49 MB / 5.215 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/11.05, allocations: 4.125 kB / 5.215 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/11.05, allocations: 55.92 kB / 5.215 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/11.05, allocations: 11.98 kB / 5.215 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/11.05, allocations: 12 kB / 5.215 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/11.05, allocations: 11.94 kB / 5.215 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/11.05, allocations: 8.078 kB / 5.215 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006183/11.05, allocations: 0.987 MB / 5.216 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/11.05, allocations: 299.3 kB / 5.216 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/11.05, allocations: 20 kB / 5.216 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/11.05, allocations: 19.89 kB / 5.216 GB, free: 139.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/11.05, allocations: 35.88 kB / 5.216 GB, free: 139.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/11.05, allocations: 19.94 kB / 5.216 GB, free: 139.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001171/11.06, allocations: 1.183 MB / 5.217 GB, free: 138.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/11.06, allocations: 3.938 kB / 5.217 GB, free: 138.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001853/11.06, allocations: 0.5075 MB / 5.218 GB, free: 138 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 () * Number of clocked 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.005346/11.06, allocations: 5.121 MB / 5.223 GB, free: 132.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005349/11.06, allocations: 348.5 kB / 5.223 GB, free: 132.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/11.06, allocations: 8 kB / 5.223 GB, free: 132.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/11.06, allocations: 157.2 kB / 5.223 GB, free: 132.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003519/11.07, allocations: 0.8445 MB / 5.224 GB, free: 131.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/11.08, allocations: 9.448 MB / 5.233 GB, free: 121.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007072/11.08, allocations: 1.22 MB / 5.235 GB, free: 120.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001032/11.08, allocations: 302.4 kB / 5.235 GB, free: 119.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004762/11.08, allocations: 451.3 kB / 5.235 GB, free: 119.4 MB / 1.167 GB Notification: Performance of SimCode: time 8.51e-07/11.08, allocations: 4 kB / 5.235 GB, free: 119.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.054/13.14, allocations: 69.5 MB / 5.303 GB, free: 50.06 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003072/13.14, allocations: 225.4 kB / 5.303 GB, free: 49.82 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.617/17.75, allocations: 0 / 5.303 GB, free: 49.82 MB / 1.167 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