Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_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.00425/0.00425, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001128/0.001128, allocations: 201.2 kB / 16.68 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.564/2.564, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 63.91 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2643, allocations: 162.3 MB / 1.242 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.6788/0.9431, allocations: 214.1 MB / 1.451 GB, free: 1.012 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.9569, allocations: 12.17 MB / 1.463 GB, free: 4.816 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008316/0.9578, allocations: 43.69 kB / 1.463 GB, free: 4.773 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.9589, allocations: 0.508 MB / 1.463 GB, free: 4.262 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.9626, allocations: 1.874 MB / 1.465 GB, free: 2.379 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003713/0.9663, allocations: 1.909 MB / 1.467 GB, free: 492 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0022/0.9686, allocations: 2.375 MB / 1.469 GB, free: 14.1 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.9699, allocations: 1.204 MB / 1.471 GB, free: 12.88 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004976/0.9749, allocations: 2.979 MB / 1.473 GB, free: 9.895 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007213/0.9756, allocations: 0.6496 MB / 1.474 GB, free: 9.242 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.9758, allocations: 88 kB / 1.474 GB, free: 9.156 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.9796, allocations: 2.483 MB / 1.477 GB, free: 6.668 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/0.9801, allocations: 0.5337 MB / 1.477 GB, free: 6.133 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006745/0.9808, allocations: 0.727 MB / 1.478 GB, free: 5.402 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003572/0.9843, allocations: 3.107 MB / 1.481 GB, free: 2.285 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.9844, allocations: 0 / 1.481 GB, free: 2.285 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9844, allocations: 0 / 1.481 GB, free: 2.285 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.9844, allocations: 4 kB / 1.481 GB, free: 2.281 MB / 1.17 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.002148/0.9865, allocations: 1.777 MB / 1.483 GB, free: 456 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.9866, allocations: 8.031 kB / 1.483 GB, free: 448 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.9868, allocations: 168.6 kB / 1.483 GB, free: 268 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.9883, allocations: 378.7 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.9896, allocations: 0.9628 MB / 1.484 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.9897, allocations: 78.02 kB / 1.484 GB, free: 14.81 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.9898, allocations: 100 kB / 1.484 GB, free: 14.71 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.9918, allocations: 1.516 MB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.9918, allocations: 3.938 kB / 1.486 GB, free: 13.08 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.172e-05/0.9919, allocations: 48 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.399e-05/0.992, allocations: 65.47 kB / 1.486 GB, free: 12.96 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.9933, allocations: 1.017 MB / 1.487 GB, free: 11.95 MB / 1.186 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.005377/0.9987, allocations: 5.834 MB / 1.493 GB, free: 5.805 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.9992, allocations: 322.1 kB / 1.493 GB, free: 5.453 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.9995, allocations: 251.4 kB / 1.493 GB, free: 5.195 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006834/1, allocations: 0.7042 MB / 1.494 GB, free: 4.344 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/1, allocations: 50.5 kB / 1.494 GB, free: 4.285 MB / 1.186 GB Notification: Performance of pre-optimization done (n=28): time 1.503e-06/1, allocations: 0 / 1.494 GB, free: 4.285 MB / 1.186 GB Notification: Performance of matching and sorting (n=28): time 0.001171/1.001, allocations: 0.6722 MB / 1.494 GB, free: 3.605 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/1.002, allocations: 140.4 kB / 1.495 GB, free: 3.438 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/1.003, allocations: 1.658 MB / 1.496 GB, free: 1.77 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/1.003, allocations: 33.7 kB / 1.496 GB, free: 1.73 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005019/1.004, allocations: 0.5504 MB / 1.497 GB, free: 1.176 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/1.004, allocations: 103.1 kB / 1.497 GB, free: 1.074 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/1.004, allocations: 65.7 kB / 1.497 GB, free: 1.004 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.004, allocations: 321.9 kB / 1.497 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/1.005, allocations: 159.9 kB / 1.497 GB, free: 0.5273 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/1.005, allocations: 290.1 kB / 1.498 GB, free: 212 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/1.005, allocations: 431.5 kB / 1.498 GB, free: 15.75 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.005, allocations: 0 / 1.498 GB, free: 15.75 MB / 1.201 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007315/1.006, allocations: 0.575 MB / 1.499 GB, free: 15.17 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.006, allocations: 8 kB / 1.499 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.006, allocations: 0 / 1.499 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.006, allocations: 8 kB / 1.499 GB, free: 15.15 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/1.006, allocations: 55.91 kB / 1.499 GB, free: 15.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/1.006, allocations: 4.156 kB / 1.499 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/1.007, allocations: 111.1 kB / 1.499 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/1.007, allocations: 20 kB / 1.499 GB, free: 14.96 MB / 1.201 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.0004185/1.007, allocations: 389.7 kB / 1.499 GB, free: 14.57 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/1.008, allocations: 151 kB / 1.499 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005312/1.008, allocations: 376.7 kB / 1.5 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.008, allocations: 0 / 1.5 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.008, allocations: 4 kB / 1.5 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.008, allocations: 0 / 1.5 GB, free: 14.03 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003001/1.011, allocations: 2.517 MB / 1.502 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.011, allocations: 4 kB / 1.502 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/1.011, allocations: 51.91 kB / 1.502 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/1.011, allocations: 8 kB / 1.502 GB, free: 11.27 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/1.011, allocations: 16.66 kB / 1.502 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/1.011, allocations: 11.94 kB / 1.502 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/1.011, allocations: 15.94 kB / 1.502 GB, free: 11.22 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/1.012, allocations: 0.6244 MB / 1.503 GB, free: 10.5 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/1.012, allocations: 300 kB / 1.503 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/1.013, allocations: 15.98 kB / 1.503 GB, free: 10.17 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/1.013, allocations: 12 kB / 1.503 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/1.013, allocations: 35.8 kB / 1.503 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/1.013, allocations: 23.98 kB / 1.503 GB, free: 10.1 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00138/1.014, allocations: 1.203 MB / 1.504 GB, free: 8.902 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/1.014, allocations: 0 / 1.504 GB, free: 8.902 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008121/1.015, allocations: 331.4 kB / 1.505 GB, free: 8.578 MB / 1.201 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.002167/1.017, allocations: 1.679 MB / 1.506 GB, free: 6.801 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005091/1.018, allocations: 363.5 kB / 1.507 GB, free: 6.445 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.018, allocations: 0 / 1.507 GB, free: 6.445 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/1.018, allocations: 157.7 kB / 1.507 GB, free: 6.293 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/1.021, allocations: 0.9169 MB / 1.508 GB, free: 5.402 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/1.033, allocations: 10.41 MB / 1.518 GB, free: 10.64 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008043/1.034, allocations: 1.201 MB / 1.519 GB, free: 9.406 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007113/1.035, allocations: 302.6 kB / 1.519 GB, free: 9.105 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/1.035, allocations: 463.3 kB / 1.52 GB, free: 8.652 MB / 1.217 GB Notification: Performance of SimCode: time 2.5e-07/1.035, allocations: 0 / 1.52 GB, free: 8.652 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.774/2.81, allocations: 43.79 MB / 1.563 GB, free: 13.28 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/17.67, allocations: 1.406 kB / 1.563 GB, free: 13.28 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches