Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",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.001192/0.001192, allocations: 98.45 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.001253/0.001253, allocations: 177.3 kB / 15.94 MB, free: 220 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.392/1.392, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003328, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7718/0.7721, allocations: 142.3 MB / 0.9536 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.181/0.9531, allocations: 171.4 MB / 1.121 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.9677, allocations: 10.57 MB / 1.131 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.9693, allocations: 43.62 kB / 1.131 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.9711, allocations: 0.6064 MB / 1.132 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.9755, allocations: 1.461 MB / 1.133 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004781/0.9803, allocations: 1.665 MB / 1.135 GB, free: 5.922 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002444/0.9828, allocations: 1.336 MB / 1.136 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.9842, allocations: 0.9333 MB / 1.137 GB, free: 3.637 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.9853, allocations: 0.5916 MB / 1.138 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006258/0.986, allocations: 446 kB / 1.138 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.9861, allocations: 36 kB / 1.138 GB, free: 2.57 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.9902, allocations: 1.685 MB / 1.14 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.9906, allocations: 458.8 kB / 1.14 GB, free: 444 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003423/0.991, allocations: 305 kB / 1.141 GB, free: 132 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002851/0.9938, allocations: 2.097 MB / 1.143 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9939, allocations: 0 / 1.143 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9939, allocations: 0 / 1.143 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.9939, allocations: 4 kB / 1.143 GB, free: 14.02 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002049/0.9959, allocations: 1.433 MB / 1.144 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.996, allocations: 12.03 kB / 1.144 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002586/0.9963, allocations: 176.7 kB / 1.144 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.9979, allocations: 369.8 kB / 1.145 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.9993, allocations: 0.8534 MB / 1.145 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.9994, allocations: 82.06 kB / 1.146 GB, free: 11 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.9995, allocations: 112 kB / 1.146 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/1.002, allocations: 1.514 MB / 1.147 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/1.002, allocations: 7.938 kB / 1.147 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.084e-05/1.002, allocations: 44 kB / 1.147 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.577e-05/1.002, allocations: 61.53 kB / 1.147 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/1.003, allocations: 1.013 MB / 1.148 GB, free: 8.137 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.006214/1.009, allocations: 5.848 MB / 1.154 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/1.01, allocations: 318.2 kB / 1.154 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003557/1.01, allocations: 364.4 kB / 1.155 GB, free: 1.195 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/1.01, allocations: 42.56 kB / 1.155 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/1.01, allocations: 0 / 1.155 GB, free: 1.145 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.001294/1.012, allocations: 0.6638 MB / 1.155 GB, free: 484 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/1.012, allocations: 144.8 kB / 1.155 GB, free: 308 kB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/1.014, allocations: 1.674 MB / 1.157 GB, free: 14.62 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/1.014, allocations: 37.64 kB / 1.157 GB, free: 14.57 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/1.014, allocations: 0.5583 MB / 1.158 GB, free: 14.01 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/1.015, allocations: 98.64 kB / 1.158 GB, free: 13.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/1.015, allocations: 0 / 1.158 GB, free: 13.91 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.015, allocations: 318 kB / 1.158 GB, free: 13.6 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/1.015, allocations: 155.9 kB / 1.158 GB, free: 13.45 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/1.015, allocations: 264.5 kB / 1.158 GB, free: 13.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/1.015, allocations: 195.8 kB / 1.159 GB, free: 12.96 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.015, allocations: 0 / 1.159 GB, free: 12.96 MB / 0.92 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008156/1.016, allocations: 0.5424 MB / 1.159 GB, free: 12.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.016, allocations: 4 kB / 1.159 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.016, allocations: 4 kB / 1.159 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/1.016, allocations: 4 kB / 1.159 GB, free: 12.4 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/1.017, allocations: 55.91 kB / 1.159 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/1.017, allocations: 4 kB / 1.159 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006257/1.017, allocations: 118.7 kB / 1.159 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/1.017, allocations: 16 kB / 1.159 GB, free: 12.21 MB / 0.92 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 () * Number of clocked 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.0005102/1.018, allocations: 381.6 kB / 1.16 GB, free: 11.83 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/1.018, allocations: 138.2 kB / 1.16 GB, free: 11.69 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005943/1.019, allocations: 393.9 kB / 1.16 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.019, allocations: 4 kB / 1.16 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/1.019, allocations: 0 / 1.16 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.019, allocations: 7.922 kB / 1.16 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/1.022, allocations: 2.493 MB / 1.163 GB, free: 8.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/1.022, allocations: 8 kB / 1.163 GB, free: 8.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/1.022, allocations: 55.84 kB / 1.163 GB, free: 8.539 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.958e-06/1.022, allocations: 8 kB / 1.163 GB, free: 8.531 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.022, allocations: 16 kB / 1.163 GB, free: 8.516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/1.022, allocations: 7.953 kB / 1.163 GB, free: 8.508 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.022, allocations: 11.94 kB / 1.163 GB, free: 8.496 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/1.023, allocations: 1.003 MB / 1.164 GB, free: 7.23 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/1.024, allocations: 303.2 kB / 1.164 GB, free: 6.914 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/1.024, allocations: 19.98 kB / 1.164 GB, free: 6.895 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/1.025, allocations: 27.88 kB / 1.164 GB, free: 6.867 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/1.025, allocations: 35.86 kB / 1.164 GB, free: 6.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/1.025, allocations: 16 kB / 1.164 GB, free: 6.816 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001478/1.026, allocations: 1.199 MB / 1.165 GB, free: 5.621 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/1.026, allocations: 0 / 1.165 GB, free: 5.621 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001036/1.027, allocations: 327.7 kB / 1.166 GB, free: 5.301 MB / 0.92 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.00299/1.03, allocations: 3.556 MB / 1.169 GB, free: 1.555 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005184/1.031, allocations: 332.6 kB / 1.169 GB, free: 1.23 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.031, allocations: 8.375 kB / 1.169 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/1.031, allocations: 155.7 kB / 1.17 GB, free: 1.07 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/1.035, allocations: 0.8429 MB / 1.17 GB, free: 248 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/1.047, allocations: 9.216 MB / 1.179 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009461/1.048, allocations: 1.24 MB / 1.181 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001112/1.049, allocations: 298.5 kB / 1.181 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/1.05, allocations: 459.3 kB / 1.181 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of SimCode: time 1.011e-06/1.05, allocations: 0 / 1.181 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08684/1.137, allocations: 41.48 MB / 1.222 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/1.137, allocations: 218.2 kB / 1.222 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.747, allocations: 0 / 1.222 GB, free: 11.31 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat does not exist to compare? outputFormat=mat