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.001579/0.001579, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001521/0.001521, allocations: 187.6 kB / 17.2 MB, free: 5.949 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 / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.723/2.723, allocations: 482.4 MB / 0.7553 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 60.83 kB / 0.9245 GB, free: 20 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8017, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.3007/1.103, allocations: 253.4 MB / 1.33 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03137/1.134, allocations: 20.62 MB / 1.35 GB, free: 12.08 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00337/1.137, allocations: 71.5 kB / 1.351 GB, free: 12.01 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003154/1.141, allocations: 0.8298 MB / 1.351 GB, free: 11.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009075/1.15, allocations: 2.901 MB / 1.354 GB, free: 8.258 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00737/1.157, allocations: 2.75 MB / 1.357 GB, free: 5.516 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006382/1.164, allocations: 3.822 MB / 1.361 GB, free: 1.684 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/1.166, allocations: 1.296 MB / 1.362 GB, free: 364 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/1.177, allocations: 4.746 MB / 1.367 GB, free: 11.6 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/1.18, allocations: 0.976 MB / 1.367 GB, free: 10.62 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003183/1.18, allocations: 112 kB / 1.368 GB, free: 10.51 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009234/1.189, allocations: 3.717 MB / 1.371 GB, free: 6.785 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001209/1.19, allocations: 0.6465 MB / 1.372 GB, free: 6.137 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001829/1.192, allocations: 0.9756 MB / 1.373 GB, free: 5.156 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009572/1.202, allocations: 4.207 MB / 1.377 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.202, allocations: 0 / 1.377 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.244e-06/1.202, allocations: 0 / 1.377 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.838e-05/1.202, allocations: 0 / 1.377 GB, free: 0.9375 MB / 1.092 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.004033/1.206, allocations: 2.291 MB / 1.379 GB, free: 14.59 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.206, allocations: 12.03 kB / 1.379 GB, free: 14.58 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/1.208, allocations: 481 kB / 1.38 GB, free: 14.11 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/1.211, allocations: 1.255 MB / 1.381 GB, free: 12.8 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.853e-05/1.211, allocations: 106.4 kB / 1.381 GB, free: 12.69 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/1.211, allocations: 120 kB / 1.381 GB, free: 12.57 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002807/1.214, allocations: 1.719 MB / 1.383 GB, free: 10.71 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/1.214, allocations: 3.938 kB / 1.383 GB, free: 10.71 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/1.214, allocations: 59.98 kB / 1.383 GB, free: 10.65 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-05/1.214, allocations: 71.67 kB / 1.383 GB, free: 10.58 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/1.216, allocations: 1.214 MB / 1.384 GB, free: 9.367 MB / 1.107 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.008799/1.225, allocations: 7.583 MB / 1.391 GB, free: 1.391 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/1.226, allocations: 0.6539 MB / 1.392 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007621/1.226, allocations: 0.6265 MB / 1.393 GB, free: 15.98 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/1.228, allocations: 1.867 MB / 1.395 GB, free: 13.71 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/1.228, allocations: 50.48 kB / 1.395 GB, free: 13.66 MB / 1.123 GB Notification: Performance of pre-optimization done (n=72): time 2.966e-06/1.228, allocations: 7.938 kB / 1.395 GB, free: 13.65 MB / 1.123 GB Notification: Performance of matching and sorting (n=72): time 0.002618/1.231, allocations: 1.387 MB / 1.396 GB, free: 12.25 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/1.231, allocations: 298.7 kB / 1.396 GB, free: 11.89 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/1.234, allocations: 1.888 MB / 1.398 GB, free: 9.969 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.847e-05/1.234, allocations: 37.7 kB / 1.398 GB, free: 9.926 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007419/1.235, allocations: 0.733 MB / 1.399 GB, free: 9.184 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/1.235, allocations: 244.4 kB / 1.399 GB, free: 8.941 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/1.235, allocations: 134.3 kB / 1.399 GB, free: 8.805 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.235, allocations: 329.9 kB / 1.399 GB, free: 8.477 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/1.236, allocations: 329.1 kB / 1.4 GB, free: 8.156 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000758/1.237, allocations: 0.5664 MB / 1.4 GB, free: 7.539 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/1.238, allocations: 0.8609 MB / 1.401 GB, free: 6.629 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.238, allocations: 0 / 1.401 GB, free: 6.629 MB / 1.123 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001617/1.239, allocations: 1.015 MB / 1.402 GB, free: 5.605 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.239, allocations: 8.125 kB / 1.402 GB, free: 5.598 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.239, allocations: 4 kB / 1.402 GB, free: 5.594 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/1.239, allocations: 11.94 kB / 1.402 GB, free: 5.582 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/1.24, allocations: 123.8 kB / 1.402 GB, free: 5.461 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/1.24, allocations: 8.5 kB / 1.402 GB, free: 5.453 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008001/1.241, allocations: 126.3 kB / 1.402 GB, free: 5.328 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.744e-05/1.241, allocations: 47.98 kB / 1.402 GB, free: 5.281 MB / 1.123 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.0007546/1.242, allocations: 459.2 kB / 1.403 GB, free: 4.824 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004041/1.242, allocations: 193.7 kB / 1.403 GB, free: 4.633 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/1.244, allocations: 1.087 MB / 1.404 GB, free: 3.539 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/1.244, allocations: 8.094 kB / 1.404 GB, free: 3.531 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.244, allocations: 7.938 kB / 1.404 GB, free: 3.523 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.244, allocations: 11.98 kB / 1.404 GB, free: 3.512 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/1.257, allocations: 8.933 MB / 1.413 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.257, allocations: 16 kB / 1.413 GB, free: 10.06 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/1.257, allocations: 139.8 kB / 1.413 GB, free: 9.922 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.237e-05/1.257, allocations: 20 kB / 1.413 GB, free: 9.902 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/1.257, allocations: 43.94 kB / 1.413 GB, free: 9.859 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.737e-05/1.257, allocations: 35.8 kB / 1.413 GB, free: 9.824 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.881e-05/1.257, allocations: 23.88 kB / 1.413 GB, free: 9.801 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/1.26, allocations: 1.664 MB / 1.415 GB, free: 7.918 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007872/1.26, allocations: 418.3 kB / 1.415 GB, free: 7.488 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/1.261, allocations: 39.92 kB / 1.415 GB, free: 7.449 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005924/1.261, allocations: 24 kB / 1.415 GB, free: 7.426 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.261, allocations: 111.5 kB / 1.415 GB, free: 7.316 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.564e-05/1.262, allocations: 55.98 kB / 1.415 GB, free: 7.262 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001906/1.263, allocations: 1.316 MB / 1.417 GB, free: 5.926 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.3e-07/1.263, allocations: 0 / 1.417 GB, free: 5.926 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001968/1.265, allocations: 0.5231 MB / 1.417 GB, free: 5.402 MB / 1.139 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.002579/1.268, allocations: 0.9552 MB / 1.418 GB, free: 4.445 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001409/1.269, allocations: 0.86 MB / 1.419 GB, free: 3.582 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.269, allocations: 0 / 1.419 GB, free: 3.582 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006649/1.27, allocations: 494.1 kB / 1.419 GB, free: 3.102 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006029/1.276, allocations: 1.341 MB / 1.421 GB, free: 1.812 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/1.281, allocations: 3.344 MB / 1.424 GB, free: 14.22 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.282, allocations: 1.39 MB / 1.425 GB, free: 12.8 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/1.283, allocations: 127.4 kB / 1.426 GB, free: 12.68 MB / 1.154 GB Notification: Performance of SimCode: time 7.52e-07/1.283, allocations: 0 / 1.426 GB, free: 12.68 MB / 1.154 GB Notification: Performance of Templates: time 0.05513/1.338, allocations: 35.23 MB / 1.46 GB, free: 9.668 MB / 1.186 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches