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.0007966/0.0007966, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.000843/0.0008431, allocations: 168.7 kB / 15.95 MB, free: 204 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.324/1.324, allocations: 223.3 MB / 240 MB, free: 5.379 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.401/2.401, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 15.98 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7064/0.7067, allocations: 142.3 MB / 0.9538 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1998/0.9066, allocations: 195.6 MB / 1.145 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.9195, allocations: 11.47 MB / 1.156 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.9208, allocations: 43.62 kB / 1.156 GB, free: 492 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.9218, allocations: 357.2 kB / 1.156 GB, free: 132 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.9254, allocations: 1.411 MB / 1.158 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.9297, allocations: 1.299 MB / 1.159 GB, free: 13.42 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003552/0.9333, allocations: 2.624 MB / 1.162 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.9344, allocations: 0.8785 MB / 1.163 GB, free: 9.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009865/0.9354, allocations: 0.6884 MB / 1.163 GB, free: 9.203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006977/0.9361, allocations: 0.6458 MB / 1.164 GB, free: 8.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.131e-05/0.9362, allocations: 36 kB / 1.164 GB, free: 8.52 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004267/0.9404, allocations: 2.159 MB / 1.166 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004279/0.9409, allocations: 0.4908 MB / 1.166 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.9412, allocations: 309 kB / 1.167 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.9435, allocations: 2.256 MB / 1.169 GB, free: 3.293 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.9435, allocations: 7.938 kB / 1.169 GB, free: 3.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9436, allocations: 0 / 1.169 GB, free: 3.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.9436, allocations: 0 / 1.169 GB, free: 3.285 MB / 0.92 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.00181/0.9454, allocations: 1.456 MB / 1.17 GB, free: 1.773 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.9454, allocations: 8.031 kB / 1.17 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.9456, allocations: 168.8 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/0.9471, allocations: 373.8 kB / 1.171 GB, free: 1.223 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.9483, allocations: 0.865 MB / 1.172 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/0.9483, allocations: 74.06 kB / 1.172 GB, free: 244 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.9485, allocations: 104 kB / 1.172 GB, free: 140 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.9505, allocations: 1.527 MB / 1.173 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.9505, allocations: 7.938 kB / 1.173 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/0.9506, allocations: 48 kB / 1.173 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.738e-05/0.9507, allocations: 57.55 kB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.952, allocations: 1.017 MB / 1.175 GB, free: 13.37 MB / 0.9356 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.005502/0.9575, allocations: 5.922 MB / 1.18 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.9581, allocations: 314.2 kB / 1.181 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/0.9583, allocations: 243.4 kB / 1.181 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006496/0.959, allocations: 0.7159 MB / 1.182 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.959, allocations: 38.5 kB / 1.182 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=28): time 2.464e-06/0.9591, allocations: 0 / 1.182 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28): time 0.001211/0.9603, allocations: 0.6754 MB / 1.182 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/0.9604, allocations: 140.5 kB / 1.182 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.9622, allocations: 1.663 MB / 1.184 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.9623, allocations: 33.7 kB / 1.184 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.9628, allocations: 0.5623 MB / 1.185 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.9628, allocations: 94.66 kB / 1.185 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.9629, allocations: 4 kB / 1.185 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.963, allocations: 318 kB / 1.185 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.9632, allocations: 151.9 kB / 1.185 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.9635, allocations: 268.4 kB / 1.185 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.9637, allocations: 195.8 kB / 1.186 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9637, allocations: 0 / 1.186 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006867/0.9644, allocations: 0.5425 MB / 1.186 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.9645, allocations: 8 kB / 1.186 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.9645, allocations: 0 / 1.186 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.9645, allocations: 4 kB / 1.186 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.9647, allocations: 59.86 kB / 1.186 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.9647, allocations: 7.984 kB / 1.186 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004884/0.9652, allocations: 110.5 kB / 1.186 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.9653, allocations: 36.14 kB / 1.186 GB, free: 0.6797 MB / 0.9356 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.0004322/0.9657, allocations: 369.6 kB / 1.187 GB, free: 316 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.9659, allocations: 142.2 kB / 1.187 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/0.9665, allocations: 393.6 kB / 1.187 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.9665, allocations: 4 kB / 1.187 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.9665, allocations: 8 kB / 1.187 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.9665, allocations: 0 / 1.187 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.9695, allocations: 2.556 MB / 1.19 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.9695, allocations: 4 kB / 1.19 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.9697, allocations: 51.91 kB / 1.19 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.9697, allocations: 8 kB / 1.19 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.9697, allocations: 12 kB / 1.19 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/0.9698, allocations: 15.89 kB / 1.19 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9698, allocations: 8 kB / 1.19 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.9704, allocations: 0.6154 MB / 1.19 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.9708, allocations: 303.2 kB / 1.191 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.9709, allocations: 15.98 kB / 1.191 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.9713, allocations: 27.89 kB / 1.191 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.9713, allocations: 31.86 kB / 1.191 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.9714, allocations: 24 kB / 1.191 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001371/0.9728, allocations: 1.199 MB / 1.192 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9728, allocations: 0 / 1.192 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009339/0.9737, allocations: 339.7 kB / 1.192 GB, free: 10.27 MB / 0.9512 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.002077/0.9758, allocations: 1.562 MB / 1.194 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.9763, allocations: 332.7 kB / 1.194 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.9763, allocations: 0 / 1.194 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.9765, allocations: 161 kB / 1.194 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/0.9797, allocations: 0.8552 MB / 1.195 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.991, allocations: 8.072 MB / 1.203 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000747/0.9918, allocations: 1.212 MB / 1.204 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009457/0.9927, allocations: 286.6 kB / 1.204 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005233/0.9933, allocations: 467.3 kB / 1.205 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.9933, allocations: 0 / 1.205 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0669/1.06, allocations: 40.92 MB / 1.245 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/1.06, allocations: 235.3 kB / 1.245 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.74, allocations: 0 / 1.245 GB, free: 4.137 MB / 0.9981 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