Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_10_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.004029/0.004029, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001183/0.001183, allocations: 194.2 kB / 16.68 MB, free: 6.352 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.4/2.4, allocations: 437.1 MB / 0.7105 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 67.89 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2614, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.684/0.9454, allocations: 214.1 MB / 1.375 GB, free: 1.594 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.9593, allocations: 12.15 MB / 1.387 GB, free: 7.918 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009553/0.9603, allocations: 43.03 kB / 1.387 GB, free: 7.898 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.9614, allocations: 0.5075 MB / 1.388 GB, free: 7.438 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.9654, allocations: 1.879 MB / 1.389 GB, free: 5.996 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.9693, allocations: 1.913 MB / 1.391 GB, free: 4.59 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.9714, allocations: 2.372 MB / 1.394 GB, free: 3.188 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.9726, allocations: 1.209 MB / 1.395 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009129/0.9735, allocations: 0.8279 MB / 1.396 GB, free: 2.031 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006335/0.9742, allocations: 0.6546 MB / 1.396 GB, free: 1.637 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.9743, allocations: 88.47 kB / 1.396 GB, free: 1.637 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004056/0.9784, allocations: 2.694 MB / 1.399 GB, free: 112 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.9788, allocations: 0.5351 MB / 1.4 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006086/0.9794, allocations: 0.7359 MB / 1.4 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.9827, allocations: 3.096 MB / 1.403 GB, free: 13.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.9827, allocations: 0 / 1.403 GB, free: 13.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.905e-06/0.9827, allocations: 2.562 kB / 1.403 GB, free: 13.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.9827, allocations: 3.938 kB / 1.403 GB, free: 13.4 MB / 1.076 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.001947/0.9847, allocations: 1.771 MB / 1.405 GB, free: 12.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.9847, allocations: 14.72 kB / 1.405 GB, free: 12.03 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.9849, allocations: 167.4 kB / 1.405 GB, free: 11.9 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.9863, allocations: 388.6 kB / 1.406 GB, free: 11.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.9876, allocations: 0.9608 MB / 1.406 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.259e-05/0.9877, allocations: 80.59 kB / 1.407 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.9878, allocations: 97.47 kB / 1.407 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.9896, allocations: 1.506 MB / 1.408 GB, free: 9.922 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.9896, allocations: 2.625 kB / 1.408 GB, free: 9.922 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.9897, allocations: 48.2 kB / 1.408 GB, free: 9.887 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.204e-05/0.9898, allocations: 64.91 kB / 1.408 GB, free: 9.871 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.991, allocations: 1.017 MB / 1.409 GB, free: 9.379 MB / 1.076 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.005171/0.9962, allocations: 5.825 MB / 1.415 GB, free: 4.305 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.9967, allocations: 321.5 kB / 1.415 GB, free: 4.086 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.9969, allocations: 249.8 kB / 1.415 GB, free: 3.945 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000674/0.9976, allocations: 0.71 MB / 1.416 GB, free: 3.156 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.9977, allocations: 41.34 kB / 1.416 GB, free: 3.109 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 5.881e-06/0.9977, allocations: 2.469 kB / 1.416 GB, free: 3.109 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001086/0.9988, allocations: 0.6842 MB / 1.417 GB, free: 2.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.9988, allocations: 133.8 kB / 1.417 GB, free: 2.594 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/1.001, allocations: 1.653 MB / 1.419 GB, free: 1.527 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/1.001, allocations: 33.7 kB / 1.419 GB, free: 1.488 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/1.001, allocations: 0.5504 MB / 1.419 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/1.001, allocations: 107 kB / 1.419 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/1.001, allocations: 65.7 kB / 1.419 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.001, allocations: 321.9 kB / 1.42 GB, free: 448 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/1.002, allocations: 163.9 kB / 1.42 GB, free: 284 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/1.002, allocations: 294.5 kB / 1.42 GB, free: 15.95 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/1.003, allocations: 435.5 kB / 1.421 GB, free: 15.49 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.003, allocations: 0 / 1.421 GB, free: 15.49 MB / 1.092 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007404/1.003, allocations: 0.5712 MB / 1.421 GB, free: 14.91 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.003, allocations: 10.03 kB / 1.421 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.003, allocations: 0 / 1.421 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.003, allocations: 8.25 kB / 1.421 GB, free: 14.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/1.004, allocations: 59.91 kB / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.004, allocations: 7.938 kB / 1.421 GB, free: 14.83 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/1.004, allocations: 111 kB / 1.421 GB, free: 14.72 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/1.004, allocations: 23.98 kB / 1.421 GB, free: 14.7 MB / 1.092 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.0004169/1.004, allocations: 381.5 kB / 1.422 GB, free: 14.32 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/1.005, allocations: 143.1 kB / 1.422 GB, free: 14.18 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005396/1.005, allocations: 380.7 kB / 1.422 GB, free: 13.78 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.005, allocations: 0 / 1.422 GB, free: 13.78 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.005, allocations: 4 kB / 1.422 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.005, allocations: 0 / 1.422 GB, free: 13.77 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/1.008, allocations: 2.521 MB / 1.425 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.008, allocations: 4 kB / 1.425 GB, free: 11.07 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/1.008, allocations: 47.92 kB / 1.425 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.009, allocations: 8 kB / 1.425 GB, free: 11.01 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/1.009, allocations: 19.98 kB / 1.425 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/1.009, allocations: 15.94 kB / 1.425 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.009, allocations: 8 kB / 1.425 GB, free: 10.97 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006758/1.009, allocations: 0.6213 MB / 1.425 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/1.01, allocations: 300 kB / 1.426 GB, free: 9.938 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/1.01, allocations: 15.98 kB / 1.426 GB, free: 9.922 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/1.01, allocations: 12 kB / 1.426 GB, free: 9.91 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/1.01, allocations: 31.86 kB / 1.426 GB, free: 9.879 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/1.01, allocations: 20 kB / 1.426 GB, free: 9.859 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001402/1.012, allocations: 1.207 MB / 1.427 GB, free: 8.656 MB / 1.092 GB Notification: Performance of sort global known variables: time 5.109e-06/1.012, allocations: 4 kB / 1.427 GB, free: 8.652 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007981/1.012, allocations: 331.3 kB / 1.427 GB, free: 8.328 MB / 1.092 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.002149/1.015, allocations: 1.682 MB / 1.429 GB, free: 6.551 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.000506/1.015, allocations: 364.5 kB / 1.429 GB, free: 6.195 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.015, allocations: 0.5 kB / 1.429 GB, free: 6.195 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/1.015, allocations: 163.6 kB / 1.429 GB, free: 6.035 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/1.019, allocations: 0.9188 MB / 1.43 GB, free: 5.148 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/1.031, allocations: 10.42 MB / 1.44 GB, free: 10.37 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008216/1.032, allocations: 1.197 MB / 1.442 GB, free: 9.141 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006929/1.032, allocations: 302.6 kB / 1.442 GB, free: 8.84 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/1.033, allocations: 467.3 kB / 1.442 GB, free: 8.383 MB / 1.107 GB Notification: Performance of SimCode: time 3.01e-07/1.033, allocations: 0 / 1.442 GB, free: 8.383 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.191/4.224, allocations: 43.8 MB / 1.485 GB, free: 13.04 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/19.82, allocations: 15.75 kB / 1.485 GB, free: 13.02 MB / 1.154 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches