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.001801/0.001801, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002341/0.002341, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.298/3.298, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.002081/0.002081, allocations: 73.08 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3997, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01861/0.4183, allocations: 14.34 MB / 1.379 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007507/0.4258, allocations: 4.281 MB / 1.383 GB, free: 10.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007315/0.4266, allocations: 19.81 kB / 1.383 GB, free: 10.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00083/0.4274, allocations: 190.6 kB / 1.383 GB, free: 10.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.4295, allocations: 0.597 MB / 1.384 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.4314, allocations: 0.5749 MB / 1.384 GB, free: 9.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.433, allocations: 0.9546 MB / 1.385 GB, free: 8.543 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000613/0.4336, allocations: 261.5 kB / 1.385 GB, free: 8.277 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.4348, allocations: 482 kB / 1.386 GB, free: 7.805 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006337/0.4354, allocations: 290.7 kB / 1.386 GB, free: 7.52 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-05/0.4355, allocations: 20 kB / 1.386 GB, free: 7.5 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006032/0.4361, allocations: 187.7 kB / 1.386 GB, free: 7.316 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.4363, allocations: 95.53 kB / 1.386 GB, free: 7.223 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.4366, allocations: 163.1 kB / 1.387 GB, free: 7.062 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009728/0.4375, allocations: 0.494 MB / 1.387 GB, free: 6.566 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4375, allocations: 0 / 1.387 GB, free: 6.566 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.532e-06/0.4375, allocations: 0 / 1.387 GB, free: 6.566 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.056e-05/0.4376, allocations: 0 / 1.387 GB, free: 6.566 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.001494/0.439, allocations: 0.6523 MB / 1.388 GB, free: 5.883 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/0.4391, allocations: 16.02 kB / 1.388 GB, free: 5.867 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.4393, allocations: 52.61 kB / 1.388 GB, free: 5.816 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008212/0.4401, allocations: 335.2 kB / 1.388 GB, free: 5.465 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.4401, allocations: 20.56 kB / 1.388 GB, free: 5.445 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.4402, allocations: 24 kB / 1.388 GB, free: 5.422 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003976/0.4406, allocations: 195.3 kB / 1.388 GB, free: 5.227 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4406, allocations: 0 / 1.388 GB, free: 5.227 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.4406, allocations: 8 kB / 1.388 GB, free: 5.219 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4406, allocations: 8 kB / 1.388 GB, free: 5.211 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.4409, allocations: 133.7 kB / 1.388 GB, free: 5.082 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.4424, allocations: 0.6278 MB / 1.389 GB, free: 4.422 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.4429, allocations: 114.5 kB / 1.389 GB, free: 4.301 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.025e-05/0.443, allocations: 48.81 kB / 1.389 GB, free: 4.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.4432, allocations: 31.98 kB / 1.389 GB, free: 4.219 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4432, allocations: 34.56 kB / 1.389 GB, free: 4.176 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.804e-06/0.4432, allocations: 0 / 1.389 GB, free: 4.176 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0004/0.4436, allocations: 173.3 kB / 1.389 GB, free: 4 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.4436, allocations: 59.41 kB / 1.389 GB, free: 3.93 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.4441, allocations: 377.6 kB / 1.39 GB, free: 3.555 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.4441, allocations: 33.7 kB / 1.39 GB, free: 3.516 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.4443, allocations: 216.6 kB / 1.39 GB, free: 3.301 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.4444, allocations: 47.58 kB / 1.39 GB, free: 3.254 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.234e-05/0.4445, allocations: 57.64 kB / 1.39 GB, free: 3.191 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4446, allocations: 342.8 kB / 1.39 GB, free: 2.848 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/0.4447, allocations: 47.97 kB / 1.391 GB, free: 2.801 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.445, allocations: 265.4 kB / 1.391 GB, free: 2.488 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.4452, allocations: 139.3 kB / 1.391 GB, free: 2.34 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4452, allocations: 4 kB / 1.391 GB, free: 2.336 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003778/0.4456, allocations: 213.2 kB / 1.391 GB, free: 2.121 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.4456, allocations: 4 kB / 1.391 GB, free: 2.117 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4456, allocations: 0 / 1.391 GB, free: 2.117 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4457, allocations: 4 kB / 1.391 GB, free: 2.113 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.4459, allocations: 43.98 kB / 1.391 GB, free: 2.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.4459, allocations: 3.938 kB / 1.391 GB, free: 2.066 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.4461, allocations: 35.81 kB / 1.391 GB, free: 2.031 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.4462, allocations: 4 kB / 1.391 GB, free: 2.027 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.0001716/0.4463, allocations: 161.9 kB / 1.391 GB, free: 1.859 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.4464, allocations: 35.77 kB / 1.391 GB, free: 1.824 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.4468, allocations: 194 kB / 1.392 GB, free: 1.633 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.4468, allocations: 4 kB / 1.392 GB, free: 1.629 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4468, allocations: 4 kB / 1.392 GB, free: 1.625 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4468, allocations: 0 / 1.392 GB, free: 1.625 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/0.4476, allocations: 0.5445 MB / 1.392 GB, free: 1.031 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4476, allocations: 0 / 1.392 GB, free: 1.031 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.4477, allocations: 23.98 kB / 1.392 GB, free: 1.008 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4477, allocations: 3.938 kB / 1.392 GB, free: 1.004 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4477, allocations: 4 kB / 1.392 GB, free: 1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.4477, allocations: 4 kB / 1.392 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4477, allocations: 0 / 1.392 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.4481, allocations: 302.5 kB / 1.392 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.4482, allocations: 43.73 kB / 1.392 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.4482, allocations: 8 kB / 1.392 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.4484, allocations: 12.05 kB / 1.392 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.4485, allocations: 15.86 kB / 1.393 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4485, allocations: 12 kB / 1.393 GB, free: 0.582 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003303/0.4488, allocations: 267.2 kB / 1.393 GB, free: 328 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4488, allocations: 0 / 1.393 GB, free: 328 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004697/0.4493, allocations: 111.7 kB / 1.393 GB, free: 216 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.0003793/0.4497, allocations: 198.2 kB / 1.393 GB, free: 8 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.45, allocations: 131.8 kB / 1.393 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.45, allocations: 0 / 1.393 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.4501, allocations: 63.84 kB / 1.393 GB, free: 15.82 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.4509, allocations: 134.9 kB / 1.393 GB, free: 15.69 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.4523, allocations: 0.6914 MB / 1.394 GB, free: 14.95 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.4525, allocations: 203.1 kB / 1.394 GB, free: 14.73 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.4526, allocations: 31.61 kB / 1.394 GB, free: 14.7 MB / 1.092 GB Notification: Performance of SimCode: time 5.51e-07/0.4526, allocations: 0 / 1.394 GB, free: 14.7 MB / 1.092 GB Notification: Performance of Templates: time 0.01026/0.4629, allocations: 5.971 MB / 1.4 GB, free: 8.785 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/jenkins1/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: 12.81089285807684]