Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001802/0.001802, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002489/0.002489, allocations: 213.4 kB / 23.04 MB, free: 4.863 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.259/3.259, allocations: 0.49 GB / 0.7959 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002065/0.002065, allocations: 70.16 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4168, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01924/0.4361, allocations: 14.36 MB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007401/0.4435, allocations: 4.262 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006109/0.4441, allocations: 23.75 kB / 1.345 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007084/0.4448, allocations: 190.6 kB / 1.346 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.4466, allocations: 0.6062 MB / 1.346 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.4484, allocations: 0.5683 MB / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001457/0.4498, allocations: 0.9507 MB / 1.348 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.4503, allocations: 256.4 kB / 1.348 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009435/0.4512, allocations: 482.1 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004622/0.4517, allocations: 294.7 kB / 1.349 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.703e-05/0.4518, allocations: 24 kB / 1.349 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.4523, allocations: 187.7 kB / 1.349 GB, free: 10.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.4524, allocations: 87.55 kB / 1.349 GB, free: 10.63 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001947/0.4526, allocations: 163.1 kB / 1.349 GB, free: 10.47 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008036/0.4534, allocations: 0.5018 MB / 1.35 GB, free: 9.969 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4534, allocations: 0 / 1.35 GB, free: 9.969 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4534, allocations: 4 kB / 1.35 GB, free: 9.965 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.4534, allocations: 0 / 1.35 GB, free: 9.965 MB / 1.045 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.00124/0.4546, allocations: 0.6562 MB / 1.35 GB, free: 9.277 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4547, allocations: 11.97 kB / 1.35 GB, free: 9.266 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.4548, allocations: 48.66 kB / 1.35 GB, free: 9.219 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007047/0.4555, allocations: 331.2 kB / 1.351 GB, free: 8.871 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.4555, allocations: 20.56 kB / 1.351 GB, free: 8.852 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.4556, allocations: 27.98 kB / 1.351 GB, free: 8.824 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.4559, allocations: 195.3 kB / 1.351 GB, free: 8.625 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.456, allocations: 4 kB / 1.351 GB, free: 8.621 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.456, allocations: 4 kB / 1.351 GB, free: 8.617 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.456, allocations: 4 kB / 1.351 GB, free: 8.613 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.4562, allocations: 137.6 kB / 1.351 GB, free: 8.477 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.4577, allocations: 0.6317 MB / 1.352 GB, free: 7.816 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.4581, allocations: 110.6 kB / 1.352 GB, free: 7.699 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.4582, allocations: 44.84 kB / 1.352 GB, free: 7.652 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.4584, allocations: 31.97 kB / 1.352 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.4584, allocations: 38.56 kB / 1.352 GB, free: 7.574 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.4584, allocations: 0 / 1.352 GB, free: 7.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0003983/0.4588, allocations: 169.6 kB / 1.352 GB, free: 7.402 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.4589, allocations: 51.41 kB / 1.352 GB, free: 7.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.4594, allocations: 381.6 kB / 1.352 GB, free: 6.961 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.4594, allocations: 33.69 kB / 1.352 GB, free: 6.922 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.4596, allocations: 224.6 kB / 1.353 GB, free: 6.699 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.4597, allocations: 47.56 kB / 1.353 GB, free: 6.652 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.4598, allocations: 53.7 kB / 1.353 GB, free: 6.594 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.46, allocations: 346.8 kB / 1.353 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.637e-05/0.46, allocations: 47.92 kB / 1.353 GB, free: 6.199 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.4603, allocations: 267.3 kB / 1.353 GB, free: 5.883 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.4606, allocations: 131.3 kB / 1.353 GB, free: 5.742 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4606, allocations: 0 / 1.353 GB, free: 5.742 MB / 1.045 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004064/0.461, allocations: 221.2 kB / 1.354 GB, free: 5.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.461, allocations: 8 kB / 1.354 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.461, allocations: 0 / 1.354 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.461, allocations: 0 / 1.354 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.4612, allocations: 47.91 kB / 1.354 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4612, allocations: 4 kB / 1.354 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.4615, allocations: 28.06 kB / 1.354 GB, free: 5.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.4616, allocations: 8 kB / 1.354 GB, free: 5.426 MB / 1.045 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.0001939/0.4617, allocations: 168.5 kB / 1.354 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.758e-05/0.4618, allocations: 31.77 kB / 1.354 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.4622, allocations: 188.1 kB / 1.354 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.4622, allocations: 7.984 kB / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.4622, allocations: 0 / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.4622, allocations: 0 / 1.354 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.4631, allocations: 0.5441 MB / 1.355 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4631, allocations: 64 / 1.355 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.4632, allocations: 27.94 kB / 1.355 GB, free: 4.406 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.4632, allocations: 4 kB / 1.355 GB, free: 4.402 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.4632, allocations: 3.984 kB / 1.355 GB, free: 4.398 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4632, allocations: 4 kB / 1.355 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4632, allocations: 0 / 1.355 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.4635, allocations: 302.5 kB / 1.355 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.669e-05/0.4636, allocations: 51.86 kB / 1.355 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.4637, allocations: 4 kB / 1.355 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.4639, allocations: 11.98 kB / 1.355 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.4639, allocations: 15.92 kB / 1.355 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.4639, allocations: 4 kB / 1.355 GB, free: 3.984 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003495/0.4643, allocations: 271.1 kB / 1.355 GB, free: 3.719 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4643, allocations: 3.938 kB / 1.355 GB, free: 3.715 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004733/0.4648, allocations: 107.8 kB / 1.355 GB, free: 3.609 MB / 1.045 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.0003538/0.4651, allocations: 199 kB / 1.356 GB, free: 3.402 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.4654, allocations: 135.8 kB / 1.356 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4654, allocations: 0 / 1.356 GB, free: 3.27 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4655, allocations: 55.92 kB / 1.356 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008057/0.4663, allocations: 150.5 kB / 1.356 GB, free: 3.078 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.4678, allocations: 0.6752 MB / 1.357 GB, free: 2.355 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.468, allocations: 199.1 kB / 1.357 GB, free: 2.137 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.4681, allocations: 39.42 kB / 1.357 GB, free: 2.098 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.4681, allocations: 0 / 1.357 GB, free: 2.098 MB / 1.045 GB Notification: Performance of Templates: time 0.01064/0.4787, allocations: 5.968 MB / 1.363 GB, free: 12.19 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.9523433719296]