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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 106 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 191 kB / 22.1 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 250.8 MB, free: 2.887 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.988/2.988, allocations: 495.8 MB / 0.7831 GB, free: 12.31 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.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: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 71.89 kB / 1.137 GB, free: 12.22 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.111, allocations: 173.6 MB / 1.307 GB, free: 33.73 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01266/1.123, allocations: 15.48 MB / 1.322 GB, free: 22.78 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.00512/1.129, allocations: 4.606 MB / 1.326 GB, free: 19.55 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/1.129, allocations: 22.69 kB / 1.326 GB, free: 19.54 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005733/1.13, allocations: 197.8 kB / 1.327 GB, free: 19.41 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.001305/1.131, allocations: 0.5994 MB / 1.327 GB, free: 19.06 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001335/1.132, allocations: 0.5855 MB / 1.328 GB, free: 18.77 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.00105/1.133, allocations: 0.9671 MB / 1.329 GB, free: 18.32 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003725/1.134, allocations: 258.6 kB / 1.329 GB, free: 18.2 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/1.135, allocations: 478.3 kB / 1.329 GB, free: 17.98 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004244/1.135, allocations: 305.3 kB / 1.33 GB, free: 17.86 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 5.76e-05/1.135, allocations: 22.44 kB / 1.33 GB, free: 17.86 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/1.135, allocations: 194.1 kB / 1.33 GB, free: 17.79 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001033/1.136, allocations: 82.73 kB / 1.33 GB, free: 17.75 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001671/1.136, allocations: 199.9 kB / 1.33 GB, free: 17.63 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.000657/1.136, allocations: 0.4887 MB / 1.331 GB, free: 17.45 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.136, allocations: 0 / 1.331 GB, free: 17.45 MB / 1.061 GB
Notification: Performance of FrontEnd: time 2.124e-06/1.136, allocations: 0 / 1.331 GB, free: 17.45 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.77e-05/1.136, allocations: 4 kB / 1.331 GB, free: 17.44 MB / 1.061 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.001057/1.137, allocations: 0.6649 MB / 1.331 GB, free: 16.94 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.137, allocations: 10.56 kB / 1.331 GB, free: 16.94 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.423e-05/1.138, allocations: 52.02 kB / 1.331 GB, free: 16.91 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/1.138, allocations: 336.9 kB / 1.332 GB, free: 16.68 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/1.138, allocations: 26.69 kB / 1.332 GB, free: 16.66 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/1.138, allocations: 26.19 kB / 1.332 GB, free: 16.65 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/1.139, allocations: 194.8 kB / 1.332 GB, free: 16.56 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/1.139, allocations: 0 / 1.332 GB, free: 16.56 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/1.139, allocations: 11.98 kB / 1.332 GB, free: 16.55 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/1.139, allocations: 5.156 kB / 1.332 GB, free: 16.55 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/1.139, allocations: 132.5 kB / 1.332 GB, free: 16.51 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/1.14, allocations: 0.8318 MB / 1.333 GB, free: 15.95 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/1.141, allocations: 113.5 kB / 1.333 GB, free: 15.89 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/1.141, allocations: 44.94 kB / 1.333 GB, free: 15.88 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/1.141, allocations: 31.34 kB / 1.333 GB, free: 15.87 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/1.141, allocations: 35.75 kB / 1.333 GB, free: 15.82 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=12): time 1.152e-06/1.141, allocations: 0 / 1.333 GB, free: 15.82 MB / 1.061 GB
Notification: Performance of matching and sorting (n=12): time 0.0003969/1.142, allocations: 174.4 kB / 1.333 GB, free: 15.74 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/1.142, allocations: 53.69 kB / 1.333 GB, free: 15.68 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/1.142, allocations: 456.2 kB / 1.334 GB, free: 15.46 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 2.459e-05/1.142, allocations: 35.45 kB / 1.334 GB, free: 15.43 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.142, allocations: 207.3 kB / 1.334 GB, free: 15.25 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/1.142, allocations: 44.19 kB / 1.334 GB, free: 15.22 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/1.142, allocations: 54.06 kB / 1.334 GB, free: 15.19 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 7.827e-05/1.142, allocations: 349.2 kB / 1.334 GB, free: 14.86 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/1.143, allocations: 49.64 kB / 1.334 GB, free: 14.84 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/1.143, allocations: 107.2 kB / 1.335 GB, free: 14.77 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/1.143, allocations: 143.4 kB / 1.335 GB, free: 14.68 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/1.143, allocations: 0 / 1.335 GB, free: 14.68 MB / 1.061 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003857/1.143, allocations: 221.2 kB / 1.335 GB, free: 14.58 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/1.143, allocations: 5.5 kB / 1.335 GB, free: 14.58 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.143, allocations: 0 / 1.335 GB, free: 14.58 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.143, allocations: 6.75 kB / 1.335 GB, free: 14.57 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/1.144, allocations: 45.28 kB / 1.335 GB, free: 14.57 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/1.144, allocations: 1.656 kB / 1.335 GB, free: 14.57 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/1.144, allocations: 39.22 kB / 1.335 GB, free: 14.55 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/1.144, allocations: 15.27 kB / 1.335 GB, free: 14.54 MB / 1.061 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.0001233/1.144, allocations: 155.3 kB / 1.335 GB, free: 14.4 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/1.144, allocations: 41.78 kB / 1.335 GB, free: 14.38 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/1.144, allocations: 198.7 kB / 1.335 GB, free: 14.29 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.145, allocations: 6.781 kB / 1.335 GB, free: 14.28 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.145, allocations: 0 / 1.335 GB, free: 14.28 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.145, allocations: 3.938 kB / 1.335 GB, free: 14.28 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/1.145, allocations: 0.5972 MB / 1.336 GB, free: 13.86 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.145, allocations: 5.562 kB / 1.336 GB, free: 13.85 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/1.145, allocations: 22.28 kB / 1.336 GB, free: 13.85 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.145, allocations: 2.75 kB / 1.336 GB, free: 13.85 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/1.145, allocations: 6.688 kB / 1.336 GB, free: 13.85 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.145, allocations: 8.781 kB / 1.336 GB, free: 13.84 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.145, allocations: 5.312 kB / 1.336 GB, free: 13.84 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/1.146, allocations: 301.9 kB / 1.336 GB, free: 13.61 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/1.146, allocations: 47.64 kB / 1.336 GB, free: 13.58 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/1.146, allocations: 9.859 kB / 1.336 GB, free: 13.58 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/1.146, allocations: 10.75 kB / 1.336 GB, free: 13.58 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/1.146, allocations: 18.28 kB / 1.336 GB, free: 13.57 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/1.146, allocations: 9.625 kB / 1.336 GB, free: 13.56 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 0.0003707/1.146, allocations: 316.1 kB / 1.337 GB, free: 13.42 MB / 1.061 GB
Notification: Performance of sort global known variables: time 7e-08/1.146, allocations: 0 / 1.337 GB, free: 13.42 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0004585/1.147, allocations: 108.2 kB / 1.337 GB, free: 13.39 MB / 1.061 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.0004647/1.147, allocations: 220 kB / 1.337 GB, free: 13.26 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0003022/1.148, allocations: 128.2 kB / 1.337 GB, free: 13.23 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.148, allocations: 0 / 1.337 GB, free: 13.23 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 9.457e-05/1.148, allocations: 56.38 kB / 1.337 GB, free: 13.21 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009872/1.149, allocations: 180.1 kB / 1.337 GB, free: 13.15 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/1.15, allocations: 0.6655 MB / 1.338 GB, free: 12.75 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/1.15, allocations: 0.8022 MB / 1.339 GB, free: 12.04 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.0002426/1.151, allocations: 70.16 kB / 1.339 GB, free: 12.03 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.496e-05/1.151, allocations: 37.31 kB / 1.339 GB, free: 12.01 MB / 1.061 GB
Notification: Performance of SimCode: time 6.31e-07/1.151, allocations: 0 / 1.339 GB, free: 12.01 MB / 1.061 GB
Notification: Performance of Templates: time 0.01641/1.167, allocations: 7.22 MB / 1.346 GB, free: 11.37 MB / 1.061 GB
"
[Timeout remaining time 299]
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/jenkins/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: 9.887930175289512]