Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Boundary,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_10_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.008034/0.008034, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.002041/0.002041, allocations: 194.9 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.588/2.588, allocations: 437.1 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2528, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.7839/1.037, allocations: 253.3 MB / 1.414 GB, free: 2.398 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02406/1.061, allocations: 20.59 MB / 1.434 GB, free: 1.617 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/1.063, allocations: 75.53 kB / 1.434 GB, free: 1.582 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/1.065, allocations: 0.8299 MB / 1.435 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006689/1.072, allocations: 2.921 MB / 1.437 GB, free: 14.56 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005994/1.078, allocations: 2.746 MB / 1.44 GB, free: 12.32 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004333/1.082, allocations: 3.819 MB / 1.444 GB, free: 8.488 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/1.084, allocations: 1.306 MB / 1.445 GB, free: 7.156 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/1.087, allocations: 1.431 MB / 1.446 GB, free: 5.723 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/1.089, allocations: 0.9759 MB / 1.447 GB, free: 4.742 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002922/1.089, allocations: 115.9 kB / 1.448 GB, free: 4.629 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007716/1.097, allocations: 3.943 MB / 1.451 GB, free: 0.6758 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007107/1.098, allocations: 0.6543 MB / 1.452 GB, free: 20 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/1.099, allocations: 0.9756 MB / 1.453 GB, free: 15.04 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006483/1.105, allocations: 4.153 MB / 1.457 GB, free: 10.88 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.106, allocations: 0 / 1.457 GB, free: 10.88 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.643e-06/1.106, allocations: 0 / 1.457 GB, free: 10.88 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.186e-05/1.106, allocations: 0 / 1.457 GB, free: 10.88 MB / 1.123 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.003957/1.11, allocations: 2.291 MB / 1.459 GB, free: 8.527 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.11, allocations: 11.97 kB / 1.459 GB, free: 8.516 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002761/1.11, allocations: 194 kB / 1.459 GB, free: 8.316 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/1.112, allocations: 477 kB / 1.46 GB, free: 7.848 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/1.114, allocations: 1.376 MB / 1.461 GB, free: 6.418 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/1.115, allocations: 98.38 kB / 1.461 GB, free: 6.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/1.115, allocations: 128 kB / 1.461 GB, free: 6.195 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/1.117, allocations: 1.716 MB / 1.463 GB, free: 4.34 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/1.117, allocations: 3.938 kB / 1.463 GB, free: 4.336 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.117, allocations: 56 kB / 1.463 GB, free: 4.281 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.723e-05/1.117, allocations: 63.92 kB / 1.463 GB, free: 4.219 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/1.119, allocations: 1.222 MB / 1.464 GB, free: 2.996 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.006733/1.126, allocations: 7.537 MB / 1.472 GB, free: 11.07 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/1.127, allocations: 0.6617 MB / 1.472 GB, free: 10.31 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/1.127, allocations: 0.6276 MB / 1.473 GB, free: 9.656 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/1.129, allocations: 1.867 MB / 1.475 GB, free: 7.383 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/1.129, allocations: 50.5 kB / 1.475 GB, free: 7.324 MB / 1.139 GB Notification: Performance of pre-optimization done (n=72): time 2.846e-06/1.129, allocations: 0 / 1.475 GB, free: 7.324 MB / 1.139 GB Notification: Performance of matching and sorting (n=72): time 0.002309/1.131, allocations: 1.394 MB / 1.476 GB, free: 5.922 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.131, allocations: 294.7 kB / 1.477 GB, free: 5.566 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/1.134, allocations: 1.888 MB / 1.478 GB, free: 3.641 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/1.134, allocations: 37.7 kB / 1.478 GB, free: 3.598 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006182/1.134, allocations: 0.733 MB / 1.479 GB, free: 2.859 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/1.134, allocations: 248.3 kB / 1.479 GB, free: 2.613 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001913/1.135, allocations: 134.3 kB / 1.48 GB, free: 2.477 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.135, allocations: 333.9 kB / 1.48 GB, free: 2.145 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/1.135, allocations: 325.1 kB / 1.48 GB, free: 1.824 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006552/1.136, allocations: 0.5664 MB / 1.481 GB, free: 1.211 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/1.137, allocations: 0.8579 MB / 1.482 GB, free: 312 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.137, allocations: 0 / 1.482 GB, free: 312 kB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001404/1.138, allocations: 1.01 MB / 1.483 GB, free: 15.29 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.138, allocations: 8.125 kB / 1.483 GB, free: 15.28 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.138, allocations: 4 kB / 1.483 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.138, allocations: 11.94 kB / 1.483 GB, free: 15.26 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/1.139, allocations: 123.8 kB / 1.483 GB, free: 15.14 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/1.139, allocations: 11.98 kB / 1.483 GB, free: 15.13 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006584/1.14, allocations: 118.4 kB / 1.483 GB, free: 15.01 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.326e-05/1.14, allocations: 47.98 kB / 1.483 GB, free: 14.96 MB / 1.154 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.0005716/1.14, allocations: 457.4 kB / 1.483 GB, free: 14.51 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/1.141, allocations: 193.7 kB / 1.483 GB, free: 14.32 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.142, allocations: 1.088 MB / 1.485 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.142, allocations: 12 kB / 1.485 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/1.142, allocations: 0 / 1.485 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.142, allocations: 7.984 kB / 1.485 GB, free: 13.2 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/1.153, allocations: 8.761 MB / 1.493 GB, free: 3.938 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/1.153, allocations: 16 kB / 1.493 GB, free: 3.922 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/1.154, allocations: 143.8 kB / 1.493 GB, free: 3.781 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.679e-05/1.154, allocations: 20 kB / 1.493 GB, free: 3.762 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/1.154, allocations: 35.94 kB / 1.493 GB, free: 3.727 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.451e-05/1.154, allocations: 31.86 kB / 1.493 GB, free: 3.695 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-05/1.154, allocations: 24.34 kB / 1.493 GB, free: 3.672 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/1.156, allocations: 1.675 MB / 1.495 GB, free: 1.773 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008395/1.157, allocations: 410.3 kB / 1.495 GB, free: 1.352 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/1.157, allocations: 43.92 kB / 1.495 GB, free: 1.309 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/1.158, allocations: 28.22 kB / 1.495 GB, free: 1.281 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.158, allocations: 111.4 kB / 1.496 GB, free: 1.172 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/1.158, allocations: 55.98 kB / 1.496 GB, free: 1.117 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00175/1.16, allocations: 1.316 MB / 1.497 GB, free: 15.78 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/1.16, allocations: 0 / 1.497 GB, free: 15.78 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001644/1.162, allocations: 0.5152 MB / 1.497 GB, free: 15.27 MB / 1.17 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.004216/1.166, allocations: 3.005 MB / 1.5 GB, free: 12.04 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001235/1.167, allocations: 0.8482 MB / 1.501 GB, free: 11.19 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.167, allocations: 4 kB / 1.501 GB, free: 11.18 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000633/1.168, allocations: 486.6 kB / 1.502 GB, free: 10.71 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/1.174, allocations: 1.336 MB / 1.503 GB, free: 9.414 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01807/1.192, allocations: 13.85 MB / 1.516 GB, free: 10.87 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.193, allocations: 1.402 MB / 1.518 GB, free: 9.441 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001351/1.194, allocations: 482.7 kB / 1.518 GB, free: 8.965 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007896/1.195, allocations: 0.6594 MB / 1.519 GB, free: 8.305 MB / 1.186 GB Notification: Performance of SimCode: time 5.91e-07/1.195, allocations: 0 / 1.519 GB, free: 8.305 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09379/1.289, allocations: 60.09 MB / 1.578 GB, free: 12.75 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.31, allocations: 0 / 1.578 GB, free: 12.75 MB / 1.248 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches