Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_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.118/2.118, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001288/0.001288, allocations: 184.8 kB / 496.1 MB, free: 12.86 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.475/1.475, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001031/0.001031, allocations: 91.7 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.451e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2644, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.121/6.385, allocations: 2.543 GB / 3.761 GB, free: 167.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/6.385, allocations: 85.02 kB / 3.761 GB, free: 167.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.852/11.24, allocations: 1.423 GB / 5.185 GB, free: 63.85 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.003e-06/11.24, allocations: 0 / 5.185 GB, free: 63.85 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001038/11.24, allocations: 39.98 kB / 5.185 GB, free: 63.81 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002444/11.24, allocations: 1.315 MB / 5.186 GB, free: 62.45 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/11.24, allocations: 12.03 kB / 5.186 GB, free: 62.44 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/11.24, allocations: 160.8 kB / 5.186 GB, free: 62.27 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/11.24, allocations: 345.8 kB / 5.186 GB, free: 61.93 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/11.24, allocations: 0.9158 MB / 5.187 GB, free: 60.97 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/11.24, allocations: 78.06 kB / 5.187 GB, free: 60.89 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/11.24, allocations: 112 kB / 5.188 GB, free: 60.78 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/11.25, allocations: 1.413 MB / 5.189 GB, free: 59.27 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/11.25, allocations: 0 / 5.189 GB, free: 59.27 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.38e-05/11.25, allocations: 48 kB / 5.189 GB, free: 59.22 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/11.25, allocations: 41.88 kB / 5.189 GB, free: 59.18 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/11.25, allocations: 0.9129 MB / 5.19 GB, free: 58.27 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.004199/11.25, allocations: 5.325 MB / 5.195 GB, free: 52.71 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/11.25, allocations: 309 kB / 5.195 GB, free: 52.39 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/11.25, allocations: 245.4 kB / 5.196 GB, free: 52.14 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008927/11.25, allocations: 1.075 MB / 5.197 GB, free: 50.85 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/11.25, allocations: 38.56 kB / 5.197 GB, free: 50.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/11.25, allocations: 4 kB / 5.197 GB, free: 50.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.001128/11.25, allocations: 0.5636 MB / 5.197 GB, free: 50.23 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/11.25, allocations: 81.88 kB / 5.197 GB, free: 50.13 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/11.26, allocations: 1.443 MB / 5.199 GB, free: 48.68 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/11.26, allocations: 33.7 kB / 5.199 GB, free: 48.64 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/11.26, allocations: 0.5506 MB / 5.199 GB, free: 48.09 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-05/11.26, allocations: 102.5 kB / 5.199 GB, free: 47.98 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/11.26, allocations: 11.88 kB / 5.199 GB, free: 47.97 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.585e-05/11.26, allocations: 321.9 kB / 5.2 GB, free: 47.65 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/11.26, allocations: 147.9 kB / 5.2 GB, free: 47.51 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/11.26, allocations: 295.3 kB / 5.2 GB, free: 47.16 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/11.26, allocations: 191.8 kB / 5.2 GB, free: 46.98 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/11.26, allocations: 0 / 5.2 GB, free: 46.98 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005839/11.26, allocations: 0.5191 MB / 5.201 GB, free: 46.45 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/11.26, allocations: 8 kB / 5.201 GB, free: 46.44 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/11.26, allocations: 7.984 kB / 5.201 GB, free: 46.43 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/11.26, allocations: 8.188 kB / 5.201 GB, free: 46.43 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/11.26, allocations: 55.91 kB / 5.201 GB, free: 46.37 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/11.26, allocations: 4 kB / 5.201 GB, free: 46.37 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/11.26, allocations: 110.6 kB / 5.201 GB, free: 46.26 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.015e-05/11.26, allocations: 24 kB / 5.201 GB, free: 46.23 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001053/11.26, allocations: 132.8 kB / 5.201 GB, free: 46.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/11.26, allocations: 142.2 kB / 5.201 GB, free: 45.96 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/11.26, allocations: 422.7 kB / 5.202 GB, free: 45.52 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/11.26, allocations: 4 kB / 5.202 GB, free: 45.52 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/11.26, allocations: 0 / 5.202 GB, free: 45.52 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/11.26, allocations: 0 / 5.202 GB, free: 45.52 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/11.26, allocations: 2.494 MB / 5.204 GB, free: 42.84 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/11.26, allocations: 8 kB / 5.204 GB, free: 42.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/11.26, allocations: 55.94 kB / 5.204 GB, free: 42.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/11.26, allocations: 8 kB / 5.204 GB, free: 42.77 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/11.26, allocations: 16 kB / 5.204 GB, free: 42.76 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/11.26, allocations: 11.94 kB / 5.204 GB, free: 42.75 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/11.26, allocations: 4 kB / 5.204 GB, free: 42.74 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006661/11.26, allocations: 0.998 MB / 5.205 GB, free: 41.48 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/11.26, allocations: 299.3 kB / 5.206 GB, free: 41.17 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/11.26, allocations: 12 kB / 5.206 GB, free: 41.16 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/11.26, allocations: 31.84 kB / 5.206 GB, free: 41.13 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/11.26, allocations: 35.88 kB / 5.206 GB, free: 41.09 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/11.26, allocations: 16 kB / 5.206 GB, free: 41.08 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001164/11.26, allocations: 1.187 MB / 5.207 GB, free: 39.89 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.51e-07/11.26, allocations: 0 / 5.207 GB, free: 39.89 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001712/11.27, allocations: 0.5112 MB / 5.207 GB, free: 39.38 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.00426/11.27, allocations: 5.124 MB / 5.212 GB, free: 33.99 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004531/11.27, allocations: 331.6 kB / 5.213 GB, free: 33.66 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/11.27, allocations: 0 / 5.213 GB, free: 33.66 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/11.27, allocations: 160.2 kB / 5.213 GB, free: 33.51 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003388/11.27, allocations: 0.8434 MB / 5.214 GB, free: 32.67 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/11.28, allocations: 1.985 MB / 5.216 GB, free: 30.56 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/11.28, allocations: 1.236 MB / 5.217 GB, free: 29.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007956/11.28, allocations: 294.6 kB / 5.217 GB, free: 29 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004321/11.28, allocations: 459.3 kB / 5.217 GB, free: 28.55 MB / 1.167 GB Notification: Performance of SimCode: time 5.31e-07/11.28, allocations: 0 / 5.217 GB, free: 28.55 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8336/12.11, allocations: 74.71 MB / 5.29 GB, free: 245.2 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/12.11, allocations: 191.2 kB / 5.291 GB, free: 245 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.058/16.17, allocations: 0.9375 kB / 5.291 GB, free: 245 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat does not exist to compare? outputFormat=mat