Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.BoundaryWithXi_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_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.0009172/0.0009172, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005603/0.005603, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.5648, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.195/0.7598, allocations: 209.6 MB / 1.16 GB, free: 12.99 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.7721, allocations: 12.13 MB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008359/0.773, allocations: 47.62 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008893/0.7739, allocations: 405.3 kB / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.7774, allocations: 1.755 MB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.7808, allocations: 1.739 MB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.7833, allocations: 3.065 MB / 1.179 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.7843, allocations: 0.9952 MB / 1.18 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000843/0.7852, allocations: 0.6882 MB / 1.18 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/0.7858, allocations: 0.6534 MB / 1.181 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.725e-05/0.7859, allocations: 40 kB / 1.181 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004801/0.7907, allocations: 3.522 MB / 1.184 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003621/0.7911, allocations: 482.6 kB / 1.185 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005377/0.7917, allocations: 0.6701 MB / 1.185 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.7951, allocations: 3.303 MB / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.7952, allocations: 0 / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7952, allocations: 0 / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.7952, allocations: 0 / 1.189 GB, free: 15.42 MB / 0.9512 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.001689/0.7969, allocations: 1.433 MB / 1.19 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.7969, allocations: 12.03 kB / 1.19 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.7971, allocations: 172.6 kB / 1.19 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.7986, allocations: 369.8 kB / 1.191 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.7997, allocations: 0.8878 MB / 1.191 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.7997, allocations: 78.02 kB / 1.192 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.7998, allocations: 100 kB / 1.192 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.8016, allocations: 1.513 MB / 1.193 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.8017, allocations: 3.938 kB / 1.193 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/0.8018, allocations: 51.88 kB / 1.193 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/0.8018, allocations: 65.53 kB / 1.193 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.8031, allocations: 1.021 MB / 1.194 GB, free: 9.508 MB / 0.9512 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.004845/0.8079, allocations: 5.883 MB / 1.2 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.8084, allocations: 318.2 kB / 1.2 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.8087, allocations: 259.3 kB / 1.201 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005771/0.8093, allocations: 0.7042 MB / 1.201 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.8093, allocations: 42.56 kB / 1.201 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.983e-06/0.8093, allocations: 0 / 1.201 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.001101/0.8104, allocations: 0.6752 MB / 1.202 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.8105, allocations: 128.5 kB / 1.202 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.8122, allocations: 1.666 MB / 1.204 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.8123, allocations: 29.7 kB / 1.204 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.8127, allocations: 0.5502 MB / 1.204 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.8128, allocations: 90.66 kB / 1.204 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.8128, allocations: 29.7 kB / 1.204 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.8129, allocations: 321.9 kB / 1.205 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.8131, allocations: 163.9 kB / 1.205 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.8134, allocations: 290.1 kB / 1.205 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/0.8138, allocations: 433.9 kB / 1.205 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8138, allocations: 0 / 1.205 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006572/0.8145, allocations: 0.5588 MB / 1.206 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8145, allocations: 8 kB / 1.206 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.8145, allocations: 4 kB / 1.206 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.8146, allocations: 4 kB / 1.206 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.8148, allocations: 63.84 kB / 1.206 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.8148, allocations: 4 kB / 1.206 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.8153, allocations: 116 kB / 1.206 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.8153, allocations: 23.98 kB / 1.206 GB, free: 12.52 MB / 0.9669 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.0003799/0.8157, allocations: 373.6 kB / 1.207 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.8159, allocations: 134.3 kB / 1.207 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.8164, allocations: 393 kB / 1.207 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.8164, allocations: 8 kB / 1.207 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8164, allocations: 0 / 1.207 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.8165, allocations: 0 / 1.207 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.8193, allocations: 2.568 MB / 1.21 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.872e-06/0.8193, allocations: 4 kB / 1.21 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.8195, allocations: 51.92 kB / 1.21 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.8195, allocations: 11.94 kB / 1.21 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.8195, allocations: 8 kB / 1.21 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.8195, allocations: 15.92 kB / 1.21 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/0.8196, allocations: 11.94 kB / 1.21 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.8201, allocations: 0.6205 MB / 1.21 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.8205, allocations: 315.1 kB / 1.211 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.8206, allocations: 16 kB / 1.211 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.821, allocations: 15.94 kB / 1.211 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.8211, allocations: 43.84 kB / 1.211 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.8211, allocations: 20 kB / 1.211 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001299/0.8224, allocations: 1.207 MB / 1.212 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8224, allocations: 0 / 1.212 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008656/0.8233, allocations: 335.8 kB / 1.212 GB, free: 6.074 MB / 0.9669 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.002156/0.8255, allocations: 1.671 MB / 1.214 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004754/0.8259, allocations: 347.9 kB / 1.214 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.826, allocations: 4.125 kB / 1.214 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.8261, allocations: 155.7 kB / 1.214 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/0.8307, allocations: 0.8796 MB / 1.215 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.8454, allocations: 11.66 MB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/0.8462, allocations: 1.212 MB / 1.228 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009417/0.8472, allocations: 294.7 kB / 1.228 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.8477, allocations: 455.3 kB / 1.228 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of SimCode: time 8.22e-07/0.8477, allocations: 0 / 1.228 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6777/1.525, allocations: 41.39 MB / 1.269 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/1.526, allocations: 248.3 kB / 1.269 GB, free: 273 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/4.368, allocations: 0 / 1.269 GB, free: 273 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches