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.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: translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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_9_Buildings.Fluid.Sources.Validation.Boundary") translateModel(Buildings.Fluid.Sources.Validation.Boundary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bouWat.p|bouProGly.p|bouMoiAir.p|bouMoiAirCO2.p|bouProFluGas.p|bouNatGas.p|bouNatGasFix.p|bouWat.T|bouProGly.T|bouMoiAir.T|bouMoiAirCO2.T|bouProFluGas.T|bouNatGas.T|bouNatGasFix.T|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_9_Buildings.Fluid.Sources.Validation.Boundary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001092/0.001092, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.231/2.231, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001327, allocations: 63.91 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2822, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.8088/1.091, allocations: 253.3 MB / 1.199 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0279/1.119, allocations: 20.59 MB / 1.219 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/1.122, allocations: 76.94 kB / 1.219 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002796/1.125, allocations: 0.8247 MB / 1.219 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008718/1.134, allocations: 2.916 MB / 1.222 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00694/1.141, allocations: 2.75 MB / 1.225 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0055/1.146, allocations: 3.824 MB / 1.229 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/1.149, allocations: 1.302 MB / 1.23 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/1.152, allocations: 1.419 MB / 1.231 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/1.154, allocations: 0.9909 MB / 1.232 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005104/1.155, allocations: 110.1 kB / 1.232 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01042/1.165, allocations: 3.947 MB / 1.236 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001082/1.166, allocations: 0.6457 MB / 1.237 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001995/1.168, allocations: 0.9855 MB / 1.238 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.009174/1.177, allocations: 4.144 MB / 1.242 GB, free: 3.062 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.177, allocations: 4 kB / 1.242 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.555e-06/1.177, allocations: 0 / 1.242 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.000137/1.178, allocations: 0 / 1.242 GB, free: 3.059 MB / 0.9044 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.004832/1.182, allocations: 2.294 MB / 1.244 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/1.183, allocations: 10.25 kB / 1.244 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002257/1.185, allocations: 481.9 kB / 1.245 GB, free: 1.105 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002491/1.187, allocations: 1.387 MB / 1.246 GB, free: 52 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/1.187, allocations: 91.72 kB / 1.246 GB, free: 12 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/1.188, allocations: 123 kB / 1.246 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/1.19, allocations: 1.72 MB / 1.248 GB, free: 14.81 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/1.19, allocations: 6.812 kB / 1.248 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.987e-05/1.19, allocations: 52.84 kB / 1.248 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-05/1.19, allocations: 68.16 kB / 1.248 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/1.192, allocations: 1.225 MB / 1.249 GB, free: 14.15 MB / 0.92 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.008126/1.2, allocations: 7.526 MB / 1.257 GB, free: 6.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009645/1.201, allocations: 0.6679 MB / 1.257 GB, free: 6.199 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006754/1.202, allocations: 0.6216 MB / 1.258 GB, free: 5.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/1.203, allocations: 1.863 MB / 1.26 GB, free: 3.277 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/1.203, allocations: 54.48 kB / 1.26 GB, free: 3.215 MB / 0.92 GB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/1.203, allocations: 0 / 1.26 GB, free: 3.215 MB / 0.92 GB Notification: Performance of matching and sorting (n=72): time 0.002419/1.206, allocations: 1.387 MB / 1.261 GB, free: 1.82 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/1.206, allocations: 294.7 kB / 1.261 GB, free: 1.465 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/1.208, allocations: 1.896 MB / 1.263 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/1.208, allocations: 37.7 kB / 1.263 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/1.209, allocations: 0.7329 MB / 1.264 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/1.209, allocations: 248.3 kB / 1.264 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/1.21, allocations: 130.2 kB / 1.264 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.21, allocations: 333.9 kB / 1.265 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/1.21, allocations: 329.1 kB / 1.265 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/1.211, allocations: 0.5586 MB / 1.266 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/1.212, allocations: 0.8644 MB / 1.266 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.212, allocations: 0 / 1.266 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00151/1.213, allocations: 1.01 MB / 1.267 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/1.213, allocations: 11.94 kB / 1.267 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/1.213, allocations: 4 kB / 1.267 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.214, allocations: 8 kB / 1.267 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/1.214, allocations: 123.8 kB / 1.267 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/1.214, allocations: 11.94 kB / 1.268 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/1.215, allocations: 118.8 kB / 1.268 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.807e-05/1.215, allocations: 43.98 kB / 1.268 GB, free: 10.86 MB / 0.9356 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.0006431/1.216, allocations: 469.5 kB / 1.268 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004849/1.216, allocations: 189.6 kB / 1.268 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/1.219, allocations: 1.088 MB / 1.269 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/1.219, allocations: 11.98 kB / 1.269 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/1.219, allocations: 4 kB / 1.269 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/1.219, allocations: 8.484 kB / 1.269 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/1.236, allocations: 8.756 MB / 1.278 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/1.236, allocations: 16 kB / 1.278 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/1.236, allocations: 139.8 kB / 1.278 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.88e-05/1.236, allocations: 20.81 kB / 1.278 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/1.236, allocations: 39.98 kB / 1.278 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.357e-05/1.236, allocations: 39.8 kB / 1.278 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/1.236, allocations: 19.94 kB / 1.278 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/1.238, allocations: 1.664 MB / 1.28 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008067/1.239, allocations: 410.3 kB / 1.28 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/1.239, allocations: 44.05 kB / 1.28 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006342/1.24, allocations: 32 kB / 1.28 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.24, allocations: 103.5 kB / 1.28 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/1.24, allocations: 51.98 kB / 1.28 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001718/1.242, allocations: 1.32 MB / 1.282 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.242, allocations: 0 / 1.282 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001618/1.243, allocations: 0.5229 MB / 1.282 GB, free: 11.15 MB / 0.9512 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.002012/1.245, allocations: 0.9268 MB / 1.283 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00126/1.247, allocations: 0.8526 MB / 1.284 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.247, allocations: 0 / 1.284 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005956/1.247, allocations: 486.1 kB / 1.284 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005095/1.252, allocations: 1.341 MB / 1.286 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/1.256, allocations: 3.234 MB / 1.289 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.257, allocations: 1.406 MB / 1.29 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001277/1.259, allocations: 478.7 kB / 1.291 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002555/1.259, allocations: 123.4 kB / 1.291 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of SimCode: time 5.42e-07/1.259, allocations: 0 / 1.291 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.06379/1.323, allocations: 42.46 MB / 1.332 GB, free: 8.121 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.makefile (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 & ./Buildings_9_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/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