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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001215/0.001215, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001188/0.001188, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437 MB / 0.7099 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001215, allocations: 67.89 kB / 0.8686 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4944, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.1749/0.6693, allocations: 212.5 MB / 1.224 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.6811, allocations: 12.28 MB / 1.236 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.6821, allocations: 47.62 kB / 1.236 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009989/0.6832, allocations: 401.4 kB / 1.237 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.6866, allocations: 1.77 MB / 1.238 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.6898, allocations: 1.729 MB / 1.24 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002662/0.6925, allocations: 3.069 MB / 1.243 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.6937, allocations: 1.03 MB / 1.244 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.6948, allocations: 0.7273 MB / 1.245 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.6954, allocations: 0.7041 MB / 1.245 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.896e-05/0.6955, allocations: 48 kB / 1.245 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004746/0.7003, allocations: 3.526 MB / 1.249 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.7007, allocations: 0.5024 MB / 1.249 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.7013, allocations: 0.6684 MB / 1.25 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4646/1.166, allocations: 3.335 MB / 1.253 GB, free: 11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.166, allocations: 0.75 kB / 1.253 GB, free: 11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/1.166, allocations: 0.6875 kB / 1.253 GB, free: 11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.477e-05/1.166, allocations: 3 kB / 1.253 GB, free: 11 MB / 0.9981 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.00234/1.168, allocations: 1.723 MB / 1.255 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/1.168, allocations: 11.14 kB / 1.255 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001793/1.169, allocations: 168.4 kB / 1.255 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/1.17, allocations: 369.8 kB / 1.256 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/1.171, allocations: 0.894 MB / 1.256 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/1.172, allocations: 78.03 kB / 1.256 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.172, allocations: 97.06 kB / 1.257 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/1.174, allocations: 1.508 MB / 1.258 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/1.174, allocations: 7.609 kB / 1.258 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/1.174, allocations: 51.03 kB / 1.258 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-05/1.174, allocations: 58 kB / 1.258 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/1.176, allocations: 1.017 MB / 1.259 GB, free: 9.551 MB / 0.9981 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.005399/1.181, allocations: 5.928 MB / 1.265 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005591/1.182, allocations: 320.2 kB / 1.265 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/1.182, allocations: 246.8 kB / 1.265 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/1.182, allocations: 0.7152 MB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/1.182, allocations: 42.94 kB / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/1.182, allocations: 0 / 1.266 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001281/1.184, allocations: 0.6669 MB / 1.267 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/1.184, allocations: 142.7 kB / 1.267 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002467/1.186, allocations: 1.654 MB / 1.269 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/1.186, allocations: 30.17 kB / 1.269 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/1.187, allocations: 0.5506 MB / 1.269 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/1.187, allocations: 100.3 kB / 1.269 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/1.187, allocations: 68.66 kB / 1.269 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002231/1.187, allocations: 316 kB / 1.27 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/1.187, allocations: 162.8 kB / 1.27 GB, free: 20.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/1.188, allocations: 284.1 kB / 1.27 GB, free: 20.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/1.188, allocations: 430 kB / 1.27 GB, free: 20.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.188, allocations: 1.375 kB / 1.27 GB, free: 20.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007367/1.189, allocations: 0.5668 MB / 1.271 GB, free: 19.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.189, allocations: 8.406 kB / 1.271 GB, free: 19.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.189, allocations: 3.078 kB / 1.271 GB, free: 19.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/1.189, allocations: 3.969 kB / 1.271 GB, free: 19.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/1.189, allocations: 65.14 kB / 1.271 GB, free: 19.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/1.189, allocations: 4.438 kB / 1.271 GB, free: 19.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/1.19, allocations: 117.7 kB / 1.271 GB, free: 19.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/1.19, allocations: 22.36 kB / 1.271 GB, free: 19.82 MB / 1.014 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.0004123/1.19, allocations: 382.7 kB / 1.272 GB, free: 19.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/1.19, allocations: 138.7 kB / 1.272 GB, free: 19.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/1.191, allocations: 385.8 kB / 1.272 GB, free: 19.54 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/1.191, allocations: 4.391 kB / 1.272 GB, free: 19.54 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.191, allocations: 1.578 kB / 1.272 GB, free: 19.54 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.191, allocations: 2.438 kB / 1.272 GB, free: 19.54 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/1.194, allocations: 2.601 MB / 1.275 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/1.194, allocations: 6.984 kB / 1.275 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/1.195, allocations: 54.28 kB / 1.275 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/1.195, allocations: 6.656 kB / 1.275 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/1.195, allocations: 10.06 kB / 1.275 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/1.195, allocations: 11.36 kB / 1.275 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.195, allocations: 10.25 kB / 1.275 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/1.195, allocations: 0.6232 MB / 1.275 GB, free: 18.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/1.196, allocations: 293.6 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/1.196, allocations: 14.52 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/1.196, allocations: 18.31 kB / 1.276 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/1.196, allocations: 42.27 kB / 1.276 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/1.196, allocations: 17.61 kB / 1.276 GB, free: 18 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001334/1.198, allocations: 1.206 MB / 1.277 GB, free: 17.89 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.41e-07/1.198, allocations: 0 / 1.277 GB, free: 17.89 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009129/1.198, allocations: 338.5 kB / 1.277 GB, free: 17.86 MB / 1.014 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.002163/1.201, allocations: 1.687 MB / 1.279 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004851/1.201, allocations: 350.6 kB / 1.279 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.201, allocations: 1.094 kB / 1.279 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/1.201, allocations: 155.2 kB / 1.279 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/1.205, allocations: 0.874 MB / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/1.218, allocations: 11.64 MB / 1.292 GB, free: 12.52 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006635/1.218, allocations: 1.198 MB / 1.293 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009498/1.219, allocations: 306.7 kB / 1.293 GB, free: 11.74 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/1.22, allocations: 456.7 kB / 1.293 GB, free: 11.73 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.22, allocations: 1.094 kB / 1.293 GB, free: 11.73 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.887/6.107, allocations: 41.75 MB / 1.334 GB, free: 2.207 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002375/6.107, allocations: 246.8 kB / 1.334 GB, free: 1.953 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.188/12.29, allocations: 0 / 1.334 GB, free: 1.953 MB / 1.014 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=50 --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