Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouMoiAir.Xi.1.|bouMoiAirCO2.Xi.1.|bouProFluGas.Xi.1.|bouProFluGas.Xi.2.|bouProFluGas.Xi.3.|bouProFluGas.Xi.4.|bouProFluGas.Xi.5.|bouNatGas.Xi.1.|bouNatGas.Xi.2.|bouNatGas.Xi.3.|bouNatGas.Xi.4.|bouNatGas.Xi.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") translateModel(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouMoiAir.Xi.1.|bouMoiAirCO2.Xi.1.|bouProFluGas.Xi.1.|bouProFluGas.Xi.2.|bouProFluGas.Xi.3.|bouProFluGas.Xi.4.|bouProFluGas.Xi.5.|bouNatGas.Xi.1.|bouNatGas.Xi.2.|bouNatGas.Xi.3.|bouNatGas.Xi.4.|bouNatGas.Xi.5.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001106/0.001106, allocations: 195.8 kB / 16.26 MB, free: 6.625 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.7 MB / 0.7449 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 65.44 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3013, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.9024/1.204, allocations: 211.9 MB / 1.275 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01554/1.219, allocations: 12.17 MB / 1.287 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/1.222, allocations: 47.78 kB / 1.287 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/1.223, allocations: 437.4 kB / 1.287 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005462/1.229, allocations: 1.77 MB / 1.289 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005538/1.234, allocations: 1.775 MB / 1.291 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004531/1.239, allocations: 2.384 MB / 1.293 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002666/1.242, allocations: 1.129 MB / 1.294 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/1.244, allocations: 0.8392 MB / 1.295 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/1.246, allocations: 0.7239 MB / 1.295 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005067/1.246, allocations: 91.03 kB / 1.296 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008394/1.255, allocations: 3.254 MB / 1.299 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001259/1.256, allocations: 0.5418 MB / 1.299 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002699/1.259, allocations: 0.7308 MB / 1.3 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008465/1.267, allocations: 3.379 MB / 1.303 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.267, allocations: 0 / 1.303 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.843e-06/1.267, allocations: 0 / 1.303 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.929e-05/1.267, allocations: 2.219 kB / 1.303 GB, free: 4.75 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.003631/1.271, allocations: 1.728 MB / 1.305 GB, free: 19.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/1.271, allocations: 9.625 kB / 1.305 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/1.273, allocations: 372 kB / 1.305 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/1.274, allocations: 0.8886 MB / 1.306 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/1.274, allocations: 79.88 kB / 1.306 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/1.274, allocations: 108.7 kB / 1.306 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/1.277, allocations: 1.511 MB / 1.308 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/1.277, allocations: 6.031 kB / 1.308 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/1.277, allocations: 47.62 kB / 1.308 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.288e-05/1.277, allocations: 58.09 kB / 1.308 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/1.278, allocations: 1.018 MB / 1.309 GB, free: 19.08 MB / 1.014 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.00825/1.287, allocations: 5.92 MB / 1.315 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008406/1.287, allocations: 320.9 kB / 1.315 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/1.288, allocations: 244.8 kB / 1.315 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/1.289, allocations: 0.7152 MB / 1.316 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/1.289, allocations: 42.72 kB / 1.316 GB, free: 14.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.825e-06/1.289, allocations: 0 / 1.316 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.00213/1.291, allocations: 0.6699 MB / 1.317 GB, free: 14.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.291, allocations: 135.1 kB / 1.317 GB, free: 14.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00348/1.295, allocations: 1.663 MB / 1.318 GB, free: 14.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.785e-05/1.295, allocations: 31.83 kB / 1.318 GB, free: 14.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/1.295, allocations: 0.5539 MB / 1.319 GB, free: 14.13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/1.296, allocations: 91.3 kB / 1.319 GB, free: 14.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/1.296, allocations: 74.7 kB / 1.319 GB, free: 14.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.296, allocations: 317 kB / 1.319 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/1.296, allocations: 163 kB / 1.32 GB, free: 13.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/1.297, allocations: 289 kB / 1.32 GB, free: 13.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/1.298, allocations: 432.7 kB / 1.32 GB, free: 13.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.298, allocations: 2.5 kB / 1.32 GB, free: 13.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001276/1.299, allocations: 0.565 MB / 1.321 GB, free: 13.45 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.299, allocations: 9.25 kB / 1.321 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.299, allocations: 4.156 kB / 1.321 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/1.299, allocations: 6.5 kB / 1.321 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/1.299, allocations: 63.23 kB / 1.321 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/1.299, allocations: 2.969 kB / 1.321 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/1.3, allocations: 116.1 kB / 1.321 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/1.3, allocations: 22.75 kB / 1.321 GB, free: 13.36 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.0007853/1.301, allocations: 375.3 kB / 1.321 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/1.302, allocations: 132.1 kB / 1.322 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000827/1.302, allocations: 395.3 kB / 1.322 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/1.302, allocations: 6.531 kB / 1.322 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/1.303, allocations: 4.344 kB / 1.322 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.303, allocations: 0 / 1.322 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/1.308, allocations: 2.599 MB / 1.324 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/1.308, allocations: 5.375 kB / 1.324 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/1.308, allocations: 49.22 kB / 1.325 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/1.308, allocations: 12.81 kB / 1.325 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.163e-05/1.309, allocations: 15.97 kB / 1.325 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/1.309, allocations: 12.38 kB / 1.325 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/1.309, allocations: 12.44 kB / 1.325 GB, free: 12.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/1.31, allocations: 0.6174 MB / 1.325 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009013/1.31, allocations: 296 kB / 1.325 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/1.311, allocations: 16.72 kB / 1.325 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/1.312, allocations: 18.97 kB / 1.326 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/1.312, allocations: 38.11 kB / 1.326 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/1.312, allocations: 23.81 kB / 1.326 GB, free: 11.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002398/1.314, allocations: 1.209 MB / 1.327 GB, free: 11.43 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.314, allocations: 0 / 1.327 GB, free: 11.43 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002269/1.316, allocations: 332.9 kB / 1.327 GB, free: 11.4 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.002678/1.319, allocations: 0.6264 MB / 1.328 GB, free: 11.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008738/1.32, allocations: 367.1 kB / 1.328 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.32, allocations: 0 / 1.328 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000274/1.32, allocations: 161.9 kB / 1.328 GB, free: 11.19 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006137/1.326, allocations: 0.9207 MB / 1.329 GB, free: 11.03 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004335/1.331, allocations: 2.387 MB / 1.331 GB, free: 9.793 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.332, allocations: 1.2 MB / 1.333 GB, free: 9.078 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001715/1.334, allocations: 309.3 kB / 1.333 GB, free: 9.008 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/1.334, allocations: 86.56 kB / 1.333 GB, free: 8.996 MB / 1.014 GB Notification: Performance of SimCode: time 8.31e-07/1.334, allocations: 0 / 1.333 GB, free: 8.996 MB / 1.014 GB Notification: Performance of Templates: time 0.05247/1.386, allocations: 30.05 MB / 1.362 GB, free: 14.75 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches