Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.00158/0.00158, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002008/0.002008, allocations: 197.8 kB / 16.14 MB, free: 6.719 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002008, allocations: 65.36 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3557, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.9123/1.268, allocations: 252.1 MB / 1.314 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02459/1.293, allocations: 20.77 MB / 1.334 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004047/1.297, allocations: 83.88 kB / 1.334 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002659/1.299, allocations: 0.652 MB / 1.335 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008734/1.308, allocations: 2.73 MB / 1.337 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008284/1.317, allocations: 2.501 MB / 1.34 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007893/1.324, allocations: 5.072 MB / 1.345 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0027/1.327, allocations: 1.062 MB / 1.346 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003984/1.331, allocations: 1.257 MB / 1.347 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002603/1.334, allocations: 1.063 MB / 1.348 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004199/1.334, allocations: 56.19 kB / 1.348 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/1.346, allocations: 5.064 MB / 1.353 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001047/1.347, allocations: 0.5988 MB / 1.354 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002126/1.349, allocations: 0.9083 MB / 1.355 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/1.359, allocations: 4.476 MB / 1.359 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.36, allocations: 4 kB / 1.359 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.174e-06/1.36, allocations: 0 / 1.359 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001192/1.36, allocations: 0 / 1.359 GB, free: 0.8164 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.004891/1.365, allocations: 2.298 MB / 1.361 GB, free: 15.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.365, allocations: 7.375 kB / 1.361 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002651/1.367, allocations: 488.6 kB / 1.362 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/1.37, allocations: 1.249 MB / 1.363 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-05/1.37, allocations: 98.64 kB / 1.363 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/1.37, allocations: 122 kB / 1.363 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/1.373, allocations: 1.723 MB / 1.365 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/1.373, allocations: 5.562 kB / 1.365 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.373, allocations: 57.44 kB / 1.365 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.791e-05/1.373, allocations: 67.33 kB / 1.365 GB, free: 13.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/1.375, allocations: 1.225 MB / 1.366 GB, free: 13.13 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.008866/1.384, allocations: 7.574 MB / 1.373 GB, free: 7.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009665/1.385, allocations: 0.6649 MB / 1.374 GB, free: 6.758 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007026/1.386, allocations: 0.618 MB / 1.375 GB, free: 6.41 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/1.388, allocations: 1.865 MB / 1.377 GB, free: 4.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/1.388, allocations: 56.64 kB / 1.377 GB, free: 4.215 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 3.086e-06/1.388, allocations: 0 / 1.377 GB, free: 4.215 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.00283/1.391, allocations: 1.388 MB / 1.378 GB, free: 3.562 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/1.391, allocations: 302.6 kB / 1.378 GB, free: 3.211 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/1.394, allocations: 1.886 MB / 1.38 GB, free: 2.199 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/1.394, allocations: 42.33 kB / 1.38 GB, free: 2.156 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007561/1.395, allocations: 0.7295 MB / 1.381 GB, free: 1.512 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/1.395, allocations: 244.1 kB / 1.381 GB, free: 1.309 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/1.395, allocations: 129.6 kB / 1.381 GB, free: 1.238 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.395, allocations: 337.7 kB / 1.382 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/1.396, allocations: 333 kB / 1.382 GB, free: 0.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008413/1.397, allocations: 0.5612 MB / 1.382 GB, free: 412 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/1.398, allocations: 0.8636 MB / 1.383 GB, free: 15.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.398, allocations: 0 / 1.383 GB, free: 15.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001792/1.4, allocations: 1.007 MB / 1.384 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.4, allocations: 9.219 kB / 1.384 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.4, allocations: 3.375 kB / 1.384 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/1.4, allocations: 13.36 kB / 1.384 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/1.4, allocations: 120.1 kB / 1.384 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.4, allocations: 8.312 kB / 1.384 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/1.401, allocations: 148.2 kB / 1.385 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/1.401, allocations: 42.05 kB / 1.385 GB, free: 15.27 MB / 1.029 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.001111/1.403, allocations: 457.6 kB / 1.385 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000467/1.403, allocations: 186.1 kB / 1.385 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/1.405, allocations: 1.088 MB / 1.386 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/1.405, allocations: 10.75 kB / 1.386 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/1.405, allocations: 6.562 kB / 1.386 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.405, allocations: 9.828 kB / 1.386 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/1.42, allocations: 8.936 MB / 1.395 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/1.42, allocations: 15.81 kB / 1.395 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/1.42, allocations: 150.4 kB / 1.395 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.218e-05/1.42, allocations: 28.17 kB / 1.395 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/1.421, allocations: 35.61 kB / 1.395 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.659e-05/1.421, allocations: 27.25 kB / 1.395 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.458e-05/1.421, allocations: 22.78 kB / 1.395 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/1.423, allocations: 1.67 MB / 1.397 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008752/1.424, allocations: 418 kB / 1.397 GB, free: 6.332 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/1.424, allocations: 37.3 kB / 1.397 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006907/1.425, allocations: 41.34 kB / 1.397 GB, free: 6.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.425, allocations: 104.6 kB / 1.397 GB, free: 6.246 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.033e-05/1.425, allocations: 54.05 kB / 1.398 GB, free: 6.238 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002073/1.427, allocations: 1.315 MB / 1.399 GB, free: 5.512 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.8e-07/1.427, allocations: 4 kB / 1.399 GB, free: 5.508 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002613/1.43, allocations: 0.5315 MB / 1.399 GB, free: 5.383 MB / 1.029 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.002697/1.432, allocations: 0.9408 MB / 1.4 GB, free: 4.938 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001316/1.434, allocations: 0.8205 MB / 1.401 GB, free: 4.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.434, allocations: 2.719 kB / 1.401 GB, free: 4.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006181/1.434, allocations: 485.6 kB / 1.402 GB, free: 4.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006402/1.441, allocations: 1.276 MB / 1.403 GB, free: 3.805 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005751/1.446, allocations: 3.747 MB / 1.406 GB, free: 15.89 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.448, allocations: 1.402 MB / 1.408 GB, free: 14.46 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001866/1.45, allocations: 486.6 kB / 1.408 GB, free: 13.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/1.45, allocations: 123.4 kB / 1.408 GB, free: 13.86 MB / 1.045 GB Notification: Performance of SimCode: time 2.665e-06/1.45, allocations: 0 / 1.408 GB, free: 13.86 MB / 1.045 GB Notification: Performance of Templates: time 0.07714/1.527, allocations: 42.38 MB / 1.45 GB, free: 4 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches