Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002948/0.002948, allocations: 213.2 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.491/3.491, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 64.02 kB / 1.186 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3821, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01789/0.4, allocations: 14.34 MB / 1.378 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006906/0.4069, allocations: 4.281 MB / 1.382 GB, free: 10.9 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004985/0.4074, allocations: 23.75 kB / 1.382 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.4081, allocations: 186.6 kB / 1.382 GB, free: 10.69 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.4098, allocations: 0.5894 MB / 1.383 GB, free: 10.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.4115, allocations: 0.5851 MB / 1.383 GB, free: 9.523 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001352/0.4128, allocations: 0.9546 MB / 1.384 GB, free: 8.566 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004563/0.4133, allocations: 260.4 kB / 1.385 GB, free: 8.301 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009235/0.4142, allocations: 482 kB / 1.385 GB, free: 7.828 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.4146, allocations: 290.7 kB / 1.385 GB, free: 7.543 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.4147, allocations: 24 kB / 1.385 GB, free: 7.52 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004657/0.4151, allocations: 183.7 kB / 1.385 GB, free: 7.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.4153, allocations: 87.55 kB / 1.386 GB, free: 7.254 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.4154, allocations: 159.1 kB / 1.386 GB, free: 7.098 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007153/0.4162, allocations: 0.5057 MB / 1.386 GB, free: 6.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.4162, allocations: 3.938 kB / 1.386 GB, free: 6.586 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4162, allocations: 0 / 1.386 GB, free: 6.586 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4162, allocations: 4 kB / 1.386 GB, free: 6.582 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001151/0.4173, allocations: 0.6446 MB / 1.387 GB, free: 5.906 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4174, allocations: 8.031 kB / 1.387 GB, free: 5.898 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.4175, allocations: 52.61 kB / 1.387 GB, free: 5.848 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/0.4182, allocations: 335.2 kB / 1.387 GB, free: 5.496 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.4182, allocations: 24.56 kB / 1.387 GB, free: 5.473 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.4183, allocations: 24 kB / 1.387 GB, free: 5.449 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.4186, allocations: 195.2 kB / 1.387 GB, free: 5.254 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4186, allocations: 0 / 1.387 GB, free: 5.254 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.4186, allocations: 16 kB / 1.387 GB, free: 5.238 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.4187, allocations: 4 kB / 1.387 GB, free: 5.234 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.4189, allocations: 133.7 kB / 1.388 GB, free: 5.105 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.4203, allocations: 0.6239 MB / 1.388 GB, free: 4.449 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.4207, allocations: 118.5 kB / 1.388 GB, free: 4.324 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/0.4208, allocations: 48.83 kB / 1.388 GB, free: 4.273 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.4209, allocations: 39.91 kB / 1.388 GB, free: 4.234 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.421, allocations: 34.56 kB / 1.388 GB, free: 4.191 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.421, allocations: 4 kB / 1.388 GB, free: 4.188 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0003904/0.4214, allocations: 165.4 kB / 1.389 GB, free: 4.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.4214, allocations: 59.28 kB / 1.389 GB, free: 3.949 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.4219, allocations: 385.6 kB / 1.389 GB, free: 3.566 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.4219, allocations: 29.7 kB / 1.389 GB, free: 3.531 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.4221, allocations: 216.6 kB / 1.389 GB, free: 3.316 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.4221, allocations: 51.56 kB / 1.389 GB, free: 3.266 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.4222, allocations: 57.64 kB / 1.389 GB, free: 3.203 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4224, allocations: 338.8 kB / 1.39 GB, free: 2.863 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4225, allocations: 51.97 kB / 1.39 GB, free: 2.812 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.4227, allocations: 267.2 kB / 1.39 GB, free: 2.496 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.4229, allocations: 127.3 kB / 1.39 GB, free: 2.359 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4229, allocations: 0 / 1.39 GB, free: 2.359 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003639/0.4233, allocations: 221.2 kB / 1.39 GB, free: 2.137 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4233, allocations: 4 kB / 1.39 GB, free: 2.133 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4233, allocations: 7.938 kB / 1.39 GB, free: 2.125 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4233, allocations: 0 / 1.39 GB, free: 2.125 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.4235, allocations: 43.98 kB / 1.39 GB, free: 2.082 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.4236, allocations: 0 / 1.39 GB, free: 2.082 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.4238, allocations: 31.83 kB / 1.39 GB, free: 2.051 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.4238, allocations: 15.98 kB / 1.39 GB, free: 2.035 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001666/0.424, allocations: 154.4 kB / 1.391 GB, free: 1.875 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.4241, allocations: 35.77 kB / 1.391 GB, free: 1.84 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.4244, allocations: 186.3 kB / 1.391 GB, free: 1.656 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.4244, allocations: 4 kB / 1.391 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4244, allocations: 0 / 1.391 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4244, allocations: 0 / 1.391 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007823/0.4252, allocations: 0.5441 MB / 1.391 GB, free: 1.059 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4252, allocations: 0 / 1.391 GB, free: 1.059 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.4253, allocations: 23.98 kB / 1.391 GB, free: 1.035 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4253, allocations: 4 kB / 1.391 GB, free: 1.031 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.4254, allocations: 0 / 1.391 GB, free: 1.031 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.4254, allocations: 7.938 kB / 1.391 GB, free: 1.023 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4254, allocations: 0 / 1.391 GB, free: 1.023 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.4257, allocations: 294.6 kB / 1.392 GB, free: 0.707 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.4258, allocations: 55.72 kB / 1.392 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.4258, allocations: 4.125 kB / 1.392 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.426, allocations: 15.92 kB / 1.392 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.4261, allocations: 15.92 kB / 1.392 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.4261, allocations: 8.062 kB / 1.392 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003259/0.4264, allocations: 267.2 kB / 1.392 GB, free: 356 kB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4264, allocations: 0 / 1.392 GB, free: 356 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004388/0.4269, allocations: 115.7 kB / 1.392 GB, free: 240 kB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000329/0.4272, allocations: 193.6 kB / 1.392 GB, free: 36 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.4275, allocations: 136.2 kB / 1.392 GB, free: 15.9 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4275, allocations: 0 / 1.392 GB, free: 15.9 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.4276, allocations: 63.97 kB / 1.392 GB, free: 15.84 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007921/0.4284, allocations: 140.3 kB / 1.393 GB, free: 15.71 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4297, allocations: 0.6664 MB / 1.393 GB, free: 15 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.4299, allocations: 199.1 kB / 1.393 GB, free: 14.79 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.4301, allocations: 57.62 kB / 1.394 GB, free: 14.73 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.4301, allocations: 31.42 kB / 1.394 GB, free: 14.7 MB / 1.092 GB Notification: Performance of SimCode: time 2.9e-07/0.4301, allocations: 0 / 1.394 GB, free: 14.7 MB / 1.092 GB Notification: Performance of Templates: time 0.01345/0.4436, allocations: 7.074 MB / 1.4 GB, free: 7.812 MB / 1.092 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.879077089950442]