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.162/2.162, allocations: 390.5 MB / 398 MB, free: 10.99 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.001111/0.001111, allocations: 183.8 kB / 491.2 MB, free: 1.602 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.422/1.422, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008692/0.0008693, allocations: 96.66 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.924e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2931, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.004/6.297, allocations: 2.542 GB / 3.754 GB, free: 177.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/6.298, allocations: 84.02 kB / 3.754 GB, free: 177.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.049/11.35, allocations: 1.404 GB / 5.159 GB, free: 88.18 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.452e-06/11.35, allocations: 0 / 5.159 GB, free: 88.18 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001527/11.35, allocations: 39.98 kB / 5.159 GB, free: 88.14 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.003888/11.35, allocations: 1.3 MB / 5.16 GB, free: 86.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/11.35, allocations: 8.562 kB / 5.16 GB, free: 86.79 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002436/11.35, allocations: 345.9 kB / 5.16 GB, free: 86.45 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/11.36, allocations: 0.9352 MB / 5.161 GB, free: 85.47 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/11.36, allocations: 32 kB / 5.161 GB, free: 85.44 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003177/11.36, allocations: 60 kB / 5.161 GB, free: 85.38 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001629/11.36, allocations: 0.8397 MB / 5.162 GB, free: 84.54 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/11.36, allocations: 1.249 MB / 5.163 GB, free: 83.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/11.36, allocations: 7.938 kB / 5.163 GB, free: 83.19 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/11.36, allocations: 4 kB / 5.163 GB, free: 83.18 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/11.36, allocations: 49.86 kB / 5.163 GB, free: 83.13 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.00429/11.36, allocations: 4.948 MB / 5.168 GB, free: 77.93 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/11.36, allocations: 249.1 kB / 5.168 GB, free: 77.67 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/11.36, allocations: 217.5 kB / 5.169 GB, free: 77.45 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/11.37, allocations: 0.8935 MB / 5.169 GB, free: 76.37 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/11.37, allocations: 38.5 kB / 5.17 GB, free: 76.32 MB / 1.167 GB Notification: Performance of pre-optimization done (n=28): time 3.587e-06/11.37, allocations: 0 / 5.17 GB, free: 76.32 MB / 1.167 GB Notification: Performance of matching and sorting (n=28): time 0.001262/11.37, allocations: 0.4979 MB / 5.17 GB, free: 75.82 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/11.37, allocations: 81.11 kB / 5.17 GB, free: 75.73 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/11.37, allocations: 0.5434 MB / 5.171 GB, free: 75.18 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/11.37, allocations: 25.7 kB / 5.171 GB, free: 75.15 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000252/11.37, allocations: 0.6001 MB / 5.171 GB, free: 74.54 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/11.37, allocations: 90.66 kB / 5.171 GB, free: 74.45 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/11.37, allocations: 6.562 kB / 5.171 GB, free: 74.45 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.124e-05/11.37, allocations: 322 kB / 5.172 GB, free: 74.12 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/11.37, allocations: 136.4 kB / 5.172 GB, free: 73.99 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/11.37, allocations: 284.8 kB / 5.172 GB, free: 73.66 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/11.37, allocations: 203.8 kB / 5.172 GB, free: 73.46 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/11.37, allocations: 4 kB / 5.172 GB, free: 73.46 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005894/11.37, allocations: 492.2 kB / 5.173 GB, free: 72.97 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/11.37, allocations: 8 kB / 5.173 GB, free: 72.96 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/11.37, allocations: 0 / 5.173 GB, free: 72.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/11.37, allocations: 4 kB / 5.173 GB, free: 72.96 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/11.37, allocations: 51.92 kB / 5.173 GB, free: 72.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/11.37, allocations: 7.984 kB / 5.173 GB, free: 72.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/11.37, allocations: 27.97 kB / 5.173 GB, free: 72.87 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/11.37, allocations: 27.98 kB / 5.173 GB, free: 72.84 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 8.718e-05/11.37, allocations: 108.9 kB / 5.173 GB, free: 72.73 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005434/11.37, allocations: 428.5 kB / 5.173 GB, free: 72.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/11.37, allocations: 78.97 kB / 5.173 GB, free: 72.23 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/11.37, allocations: 298.1 kB / 5.174 GB, free: 71.92 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/11.37, allocations: 0 / 5.174 GB, free: 71.92 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/11.37, allocations: 4 kB / 5.174 GB, free: 71.91 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/11.37, allocations: 0 / 5.174 GB, free: 71.91 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/11.37, allocations: 2.319 MB / 5.176 GB, free: 69.43 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/11.37, allocations: 8 kB / 5.176 GB, free: 69.42 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/11.37, allocations: 43.92 kB / 5.176 GB, free: 69.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/11.37, allocations: 12 kB / 5.176 GB, free: 69.37 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/11.37, allocations: 8 kB / 5.176 GB, free: 69.36 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/11.37, allocations: 12.48 kB / 5.176 GB, free: 69.35 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/11.37, allocations: 11.94 kB / 5.176 GB, free: 69.34 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/11.37, allocations: 0.8283 MB / 5.177 GB, free: 68.26 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/11.37, allocations: 200.1 kB / 5.177 GB, free: 68.05 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/11.37, allocations: 19.88 kB / 5.177 GB, free: 68.03 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/11.37, allocations: 15.91 kB / 5.177 GB, free: 68.01 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/11.37, allocations: 35.91 kB / 5.177 GB, free: 67.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/11.37, allocations: 19.98 kB / 5.177 GB, free: 67.96 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003785/11.37, allocations: 467.1 kB / 5.178 GB, free: 67.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/11.37, allocations: 0 / 5.178 GB, free: 67.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001367/11.38, allocations: 0.4985 MB / 5.178 GB, free: 67 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.003796/11.38, allocations: 5.355 MB / 5.183 GB, free: 61.38 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003736/11.38, allocations: 319.8 kB / 5.184 GB, free: 61.07 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/11.38, allocations: 384 / 5.184 GB, free: 61.07 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/11.38, allocations: 155.7 kB / 5.184 GB, free: 60.91 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/11.38, allocations: 432.1 kB / 5.184 GB, free: 60.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/11.38, allocations: 1.791 MB / 5.186 GB, free: 58.59 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/11.39, allocations: 1.237 MB / 5.187 GB, free: 57.33 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004781/11.39, allocations: 189.3 kB / 5.187 GB, free: 57.14 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/11.39, allocations: 427.3 kB / 5.188 GB, free: 56.72 MB / 1.167 GB Notification: Performance of SimCode: time 1.202e-06/11.39, allocations: 0 / 5.188 GB, free: 56.72 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0605/11.45, allocations: 37.38 MB / 5.224 GB, free: 19.44 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003557/11.45, allocations: 172.5 kB / 5.224 GB, free: 19.25 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.094/14.54, allocations: 0 / 5.224 GB, free: 19.25 MB / 1.167 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