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.001173/0.001173, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 184.1 kB / 16.92 MB, free: 6.922 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: 223.3 MB / 241 MB, free: 5.344 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.418/2.418, allocations: 390.9 MB / 0.667 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7614/0.7618, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2601/1.022, allocations: 248.7 MB / 1.199 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02594/1.048, allocations: 20.54 MB / 1.219 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/1.051, allocations: 79.31 kB / 1.219 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/1.053, allocations: 0.6481 MB / 1.219 GB, free: 496 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007202/1.06, allocations: 2.735 MB / 1.222 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006447/1.067, allocations: 2.507 MB / 1.224 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006732/1.073, allocations: 5.067 MB / 1.229 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/1.076, allocations: 1.05 MB / 1.23 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00348/1.08, allocations: 1.24 MB / 1.232 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/1.082, allocations: 1.042 MB / 1.233 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/1.082, allocations: 51.94 kB / 1.233 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009945/1.092, allocations: 5.062 MB / 1.238 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009636/1.093, allocations: 0.588 MB / 1.238 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/1.094, allocations: 0.9265 MB / 1.239 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005188/1.1, allocations: 3.227 MB / 1.242 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.1, allocations: 0 / 1.242 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.705e-06/1.1, allocations: 8 kB / 1.242 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.471e-05/1.1, allocations: 0 / 1.242 GB, free: 8.898 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.002848/1.102, allocations: 1.906 MB / 1.244 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.103, allocations: 8.031 kB / 1.244 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/1.105, allocations: 489 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/1.106, allocations: 1.255 MB / 1.246 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.373e-05/1.107, allocations: 94.44 kB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.107, allocations: 124 kB / 1.246 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/1.109, allocations: 1.712 MB / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/1.109, allocations: 7.938 kB / 1.248 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.109, allocations: 55.94 kB / 1.248 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/1.109, allocations: 71.91 kB / 1.248 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/1.111, allocations: 1.223 MB / 1.249 GB, free: 1.719 MB / 0.9981 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.5721/1.683, allocations: 7.565 MB / 1.256 GB, free: 280.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/1.684, allocations: 0.6563 MB / 1.257 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009311/1.685, allocations: 0.6256 MB / 1.258 GB, free: 279.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/1.687, allocations: 1.863 MB / 1.26 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.687, allocations: 49.84 kB / 1.26 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.026e-06/1.687, allocations: 4.281 kB / 1.26 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.003087/1.69, allocations: 1.388 MB / 1.261 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/1.69, allocations: 296.9 kB / 1.261 GB, free: 276.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/1.693, allocations: 1.892 MB / 1.263 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001034/1.693, allocations: 39.36 kB / 1.263 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005918/1.694, allocations: 0.7308 MB / 1.264 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/1.694, allocations: 246.6 kB / 1.264 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.822e-05/1.694, allocations: 46.92 kB / 1.264 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/1.694, allocations: 336.7 kB / 1.264 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/1.695, allocations: 328.8 kB / 1.265 GB, free: 275 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000734/1.695, allocations: 0.5619 MB / 1.265 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.697, allocations: 0.8681 MB / 1.266 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/1.697, allocations: 1.094 kB / 1.266 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002064/1.699, allocations: 1.006 MB / 1.267 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/1.699, allocations: 6.812 kB / 1.267 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/1.699, allocations: 8.484 kB / 1.267 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/1.699, allocations: 6.375 kB / 1.267 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/1.699, allocations: 119.6 kB / 1.267 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/1.699, allocations: 6.938 kB / 1.267 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/1.7, allocations: 146.9 kB / 1.267 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.7, allocations: 46.14 kB / 1.267 GB, free: 273.8 MB / 0.9981 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.0007492/1.701, allocations: 460.4 kB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/1.702, allocations: 190.8 kB / 1.268 GB, free: 273.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/1.703, allocations: 1.085 MB / 1.269 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/1.703, allocations: 9.594 kB / 1.269 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.703, allocations: 3.125 kB / 1.269 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/1.703, allocations: 7.297 kB / 1.269 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/1.714, allocations: 8.796 MB / 1.278 GB, free: 266.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.953e-05/1.715, allocations: 15.34 kB / 1.278 GB, free: 266.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/1.715, allocations: 145.8 kB / 1.278 GB, free: 266.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.596e-05/1.715, allocations: 19.41 kB / 1.278 GB, free: 266.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/1.715, allocations: 37.88 kB / 1.278 GB, free: 266.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.827e-05/1.715, allocations: 31.05 kB / 1.278 GB, free: 266.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.411e-05/1.715, allocations: 25.28 kB / 1.278 GB, free: 266.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/1.717, allocations: 1.677 MB / 1.28 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008117/1.718, allocations: 416.7 kB / 1.28 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/1.718, allocations: 37.73 kB / 1.28 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000735/1.719, allocations: 45.47 kB / 1.28 GB, free: 264.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/1.719, allocations: 103.8 kB / 1.28 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.042e-05/1.719, allocations: 57.58 kB / 1.28 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002027/1.721, allocations: 1.315 MB / 1.282 GB, free: 264 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.61e-07/1.721, allocations: 0 / 1.282 GB, free: 264 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002575/1.724, allocations: 0.5268 MB / 1.282 GB, free: 263.9 MB / 0.9981 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.002746/1.727, allocations: 0.9588 MB / 1.283 GB, free: 263.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00154/1.728, allocations: 0.8174 MB / 1.284 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/1.728, allocations: 1.656 kB / 1.284 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007303/1.729, allocations: 488 kB / 1.284 GB, free: 263 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/1.74, allocations: 1.272 MB / 1.285 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/1.745, allocations: 3.842 MB / 1.289 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/1.746, allocations: 1.394 MB / 1.291 GB, free: 258.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/1.746, allocations: 129.9 kB / 1.291 GB, free: 258.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.746, allocations: 0 / 1.291 GB, free: 258.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.04486/1.791, allocations: 34.92 MB / 1.325 GB, free: 226.6 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 -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