Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.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.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",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.007413/0.007413, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001795/0.001795, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.14/2.14, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.688, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2513/0.9394, allocations: 253.3 MB / 1.335 GB, free: 168 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02411/0.9635, allocations: 20.59 MB / 1.355 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.9657, allocations: 75.5 kB / 1.355 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.9679, allocations: 0.8337 MB / 1.356 GB, free: 10.59 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006562/0.9745, allocations: 2.912 MB / 1.359 GB, free: 7.664 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005974/0.9805, allocations: 2.758 MB / 1.361 GB, free: 4.914 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004753/0.9852, allocations: 3.816 MB / 1.365 GB, free: 1.082 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.9872, allocations: 1.304 MB / 1.366 GB, free: 15.75 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.9898, allocations: 1.421 MB / 1.368 GB, free: 14.33 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.9913, allocations: 0.9955 MB / 1.369 GB, free: 13.33 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002333/0.9915, allocations: 108 kB / 1.369 GB, free: 13.23 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007468/0.999, allocations: 3.943 MB / 1.373 GB, free: 9.273 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007176/0.9997, allocations: 0.6505 MB / 1.373 GB, free: 8.621 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/1.001, allocations: 0.9795 MB / 1.374 GB, free: 7.637 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006322/1.007, allocations: 4.149 MB / 1.378 GB, free: 3.477 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.007, allocations: 3.984 kB / 1.378 GB, free: 3.473 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.202e-06/1.007, allocations: 0 / 1.378 GB, free: 3.473 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.923e-05/1.007, allocations: 0 / 1.378 GB, free: 3.473 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.003735/1.011, allocations: 2.291 MB / 1.381 GB, free: 1.125 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/1.011, allocations: 8.031 kB / 1.381 GB, free: 1.117 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002883/1.011, allocations: 194 kB / 1.381 GB, free: 0.918 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002132/1.014, allocations: 485 kB / 1.381 GB, free: 452 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/1.016, allocations: 1.376 MB / 1.383 GB, free: 15.01 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/1.016, allocations: 98.44 kB / 1.383 GB, free: 14.91 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/1.016, allocations: 116 kB / 1.383 GB, free: 14.8 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/1.019, allocations: 1.727 MB / 1.384 GB, free: 12.93 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/1.019, allocations: 7.938 kB / 1.384 GB, free: 12.93 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/1.019, allocations: 52 kB / 1.385 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.347e-05/1.019, allocations: 67.86 kB / 1.385 GB, free: 12.81 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/1.021, allocations: 1.221 MB / 1.386 GB, free: 11.59 MB / 1.123 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.007516/1.028, allocations: 7.521 MB / 1.393 GB, free: 3.672 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00091/1.029, allocations: 0.6588 MB / 1.394 GB, free: 2.922 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/1.03, allocations: 0.6214 MB / 1.394 GB, free: 2.27 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/1.032, allocations: 1.867 MB / 1.396 GB, free: 15.99 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.032, allocations: 54.5 kB / 1.396 GB, free: 15.93 MB / 1.139 GB Notification: Performance of pre-optimization done (n=72): time 2.394e-06/1.032, allocations: 0 / 1.396 GB, free: 15.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=72): time 0.002369/1.034, allocations: 1.399 MB / 1.398 GB, free: 14.53 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/1.034, allocations: 290.7 kB / 1.398 GB, free: 14.18 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/1.037, allocations: 1.888 MB / 1.4 GB, free: 12.25 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/1.037, allocations: 41.7 kB / 1.4 GB, free: 12.2 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006218/1.037, allocations: 0.7291 MB / 1.4 GB, free: 11.46 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/1.037, allocations: 240.5 kB / 1.401 GB, free: 11.23 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.038, allocations: 138.2 kB / 1.401 GB, free: 11.09 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.038, allocations: 333.9 kB / 1.401 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/1.038, allocations: 325.2 kB / 1.401 GB, free: 10.44 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007159/1.039, allocations: 0.5742 MB / 1.402 GB, free: 9.812 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/1.04, allocations: 0.8529 MB / 1.403 GB, free: 8.91 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.04, allocations: 0 / 1.403 GB, free: 8.91 MB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001388/1.041, allocations: 1.014 MB / 1.404 GB, free: 7.887 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.041, allocations: 8 kB / 1.404 GB, free: 7.879 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.041, allocations: 4.469 kB / 1.404 GB, free: 7.875 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.041, allocations: 4 kB / 1.404 GB, free: 7.871 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/1.042, allocations: 124 kB / 1.404 GB, free: 7.75 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.042, allocations: 15.92 kB / 1.404 GB, free: 7.734 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006217/1.043, allocations: 122.3 kB / 1.404 GB, free: 7.613 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/1.043, allocations: 55.91 kB / 1.404 GB, free: 7.559 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0005808/1.043, allocations: 457.5 kB / 1.405 GB, free: 7.102 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/1.044, allocations: 185.7 kB / 1.405 GB, free: 6.918 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/1.045, allocations: 1.083 MB / 1.406 GB, free: 5.828 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/1.045, allocations: 16 kB / 1.406 GB, free: 5.812 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/1.045, allocations: 288 / 1.406 GB, free: 5.812 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/1.045, allocations: 7.984 kB / 1.406 GB, free: 5.805 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/1.057, allocations: 8.761 MB / 1.414 GB, free: 12.54 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/1.057, allocations: 12 kB / 1.414 GB, free: 12.53 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004422/1.057, allocations: 147.7 kB / 1.415 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/1.057, allocations: 20 kB / 1.415 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/1.057, allocations: 35.94 kB / 1.415 GB, free: 12.33 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.039e-05/1.057, allocations: 31.95 kB / 1.415 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.329e-05/1.057, allocations: 27.81 kB / 1.415 GB, free: 12.27 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/1.059, allocations: 1.676 MB / 1.416 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007146/1.06, allocations: 422.3 kB / 1.417 GB, free: 9.938 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/1.06, allocations: 31.98 kB / 1.417 GB, free: 9.906 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/1.061, allocations: 24 kB / 1.417 GB, free: 9.883 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.061, allocations: 107.5 kB / 1.417 GB, free: 9.777 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.149e-05/1.061, allocations: 51.98 kB / 1.417 GB, free: 9.727 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001889/1.063, allocations: 1.316 MB / 1.418 GB, free: 8.391 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.41e-07/1.063, allocations: 0 / 1.418 GB, free: 8.391 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001992/1.065, allocations: 0.5191 MB / 1.419 GB, free: 7.871 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.004578/1.069, allocations: 2.998 MB / 1.422 GB, free: 4.652 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001263/1.071, allocations: 0.8532 MB / 1.422 GB, free: 3.797 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.071, allocations: 4 kB / 1.422 GB, free: 3.793 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0006236/1.071, allocations: 485.9 kB / 1.423 GB, free: 3.32 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005711/1.077, allocations: 1.334 MB / 1.424 GB, free: 2.023 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/1.095, allocations: 13.85 MB / 1.438 GB, free: 3.48 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.096, allocations: 1.406 MB / 1.439 GB, free: 2.047 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001434/1.098, allocations: 486.6 kB / 1.44 GB, free: 1.566 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008453/1.099, allocations: 0.6632 MB / 1.44 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of SimCode: time 1.432e-06/1.099, allocations: 0 / 1.44 GB, free: 0.9023 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09155/1.19, allocations: 60.07 MB / 1.499 GB, free: 5.438 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/12.34, allocations: 9.875 kB / 1.499 GB, free: 5.43 MB / 1.232 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches