Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_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.004079/0.004079, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001037/0.001037, allocations: 192.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 58.77 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.217, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.6816/0.8987, allocations: 214.1 MB / 1.297 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01222/0.9109, allocations: 12.16 MB / 1.308 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.9122, allocations: 42.59 kB / 1.308 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009878/0.9132, allocations: 0.5044 MB / 1.309 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003884/0.9171, allocations: 1.886 MB / 1.311 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.9209, allocations: 1.897 MB / 1.313 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002376/0.9233, allocations: 2.385 MB / 1.315 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.9248, allocations: 1.198 MB / 1.316 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.926, allocations: 0.8272 MB / 1.317 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.9267, allocations: 0.6576 MB / 1.318 GB, free: 2.566 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.9268, allocations: 89.62 kB / 1.318 GB, free: 2.566 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.9314, allocations: 2.699 MB / 1.32 GB, free: 2.539 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003988/0.9318, allocations: 0.5328 MB / 1.321 GB, free: 2.492 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006175/0.9324, allocations: 0.7282 MB / 1.322 GB, free: 2.281 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003835/0.9362, allocations: 3.091 MB / 1.325 GB, free: 1.945 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.9362, allocations: 5.031 kB / 1.325 GB, free: 1.941 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9363, allocations: 0 / 1.325 GB, free: 1.941 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.226e-05/0.9363, allocations: 0.7812 kB / 1.325 GB, free: 1.941 MB / 1.014 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.002112/0.9384, allocations: 1.73 MB / 1.326 GB, free: 1.016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.9384, allocations: 10.03 kB / 1.326 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/0.9386, allocations: 170 kB / 1.326 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.9402, allocations: 367.9 kB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.9417, allocations: 0.9605 MB / 1.328 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.894e-05/0.9418, allocations: 77.81 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.9419, allocations: 99.88 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.944, allocations: 1.508 MB / 1.329 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.9441, allocations: 6.062 kB / 1.329 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/0.9442, allocations: 44.53 kB / 1.329 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-05/0.9443, allocations: 61.16 kB / 1.329 GB, free: 252 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.9456, allocations: 1.018 MB / 1.33 GB, free: 244 kB / 1.014 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.005288/0.9509, allocations: 5.813 MB / 1.336 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004743/0.9514, allocations: 324.6 kB / 1.336 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.9516, allocations: 250.6 kB / 1.337 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006401/0.9523, allocations: 0.7104 MB / 1.337 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.9523, allocations: 47.86 kB / 1.337 GB, free: 11.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=28): time 2.334e-06/0.9523, allocations: 1.094 kB / 1.337 GB, free: 11.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=28): time 0.001106/0.9534, allocations: 0.671 MB / 1.338 GB, free: 11.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.9535, allocations: 135.3 kB / 1.338 GB, free: 11.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.9551, allocations: 1.662 MB / 1.34 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.9552, allocations: 34.55 kB / 1.34 GB, free: 11.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.9556, allocations: 0.5476 MB / 1.34 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.9556, allocations: 94.86 kB / 1.34 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.9557, allocations: 70.95 kB / 1.341 GB, free: 11.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.184e-05/0.9558, allocations: 317.9 kB / 1.341 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.956, allocations: 162.1 kB / 1.341 GB, free: 10.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.9563, allocations: 288.3 kB / 1.341 GB, free: 10.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.9568, allocations: 428 kB / 1.342 GB, free: 10.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.9568, allocations: 3.094 kB / 1.342 GB, free: 10.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006783/0.9575, allocations: 0.569 MB / 1.342 GB, free: 10.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.9575, allocations: 7 kB / 1.342 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.9575, allocations: 6.406 kB / 1.342 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.9575, allocations: 4.812 kB / 1.342 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.9578, allocations: 53.95 kB / 1.342 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.9578, allocations: 4.75 kB / 1.342 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.9584, allocations: 109.5 kB / 1.342 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/0.9584, allocations: 32.84 kB / 1.342 GB, free: 10.07 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003945/0.9588, allocations: 377 kB / 1.343 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.959, allocations: 141.1 kB / 1.343 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.9595, allocations: 381.3 kB / 1.343 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.9596, allocations: 4.781 kB / 1.343 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.9596, allocations: 0 / 1.343 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9596, allocations: 10.19 kB / 1.343 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.9626, allocations: 2.507 MB / 1.346 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.9626, allocations: 6.062 kB / 1.346 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.9628, allocations: 52.7 kB / 1.346 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.9628, allocations: 4.875 kB / 1.346 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.9629, allocations: 18.53 kB / 1.346 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.9629, allocations: 11.28 kB / 1.346 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.9629, allocations: 7.969 kB / 1.346 GB, free: 8.098 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/0.9635, allocations: 0.6172 MB / 1.346 GB, free: 7.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.9639, allocations: 297.9 kB / 1.347 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.9641, allocations: 11.2 kB / 1.347 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.9644, allocations: 9.375 kB / 1.347 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.9645, allocations: 47.55 kB / 1.347 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.9645, allocations: 13.16 kB / 1.347 GB, free: 7.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00123/0.9657, allocations: 1.204 MB / 1.348 GB, free: 6.961 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9658, allocations: 0 / 1.348 GB, free: 6.961 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001074/0.9668, allocations: 331.1 kB / 1.348 GB, free: 6.906 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002174/0.969, allocations: 1.682 MB / 1.35 GB, free: 5.793 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005066/0.9695, allocations: 365.3 kB / 1.35 GB, free: 5.695 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9695, allocations: 2.75 kB / 1.35 GB, free: 5.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/0.9697, allocations: 162.8 kB / 1.35 GB, free: 5.652 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/0.9732, allocations: 0.9036 MB / 1.351 GB, free: 5.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.9841, allocations: 10.36 MB / 1.361 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/0.9849, allocations: 1.199 MB / 1.363 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009242/0.9858, allocations: 301.7 kB / 1.363 GB, free: 15.9 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/0.9863, allocations: 461 kB / 1.363 GB, free: 15.56 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.9863, allocations: 0 / 1.363 GB, free: 15.56 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8983/1.885, allocations: 43.79 MB / 1.406 GB, free: 0.5 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.908/11.79, allocations: 16.3 kB / 1.406 GB, free: 0.4922 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches