Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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.001719/0.001719, allocations: 111.8 kB / 17.08 MB, free: 6.012 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.00211/0.002111, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.454/1.454, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.772/2.772, allocations: 437.1 MB / 0.7177 GB, free: 4.523 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.89 kB / 1.028 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 151.6 MB / 1.176 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.02062/0.3377, allocations: 15.42 MB / 1.191 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007237/0.345, allocations: 4.666 MB / 1.195 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007057/0.3458, allocations: 19.81 kB / 1.195 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.3465, allocations: 182.6 kB / 1.196 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.3483, allocations: 0.5751 MB / 1.196 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3501, allocations: 0.5681 MB / 1.197 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001531/0.3516, allocations: 0.9626 MB / 1.198 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/0.3521, allocations: 315.8 kB / 1.198 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007741/0.3529, allocations: 406.4 kB / 1.198 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00044/0.3534, allocations: 310.5 kB / 1.199 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.3534, allocations: 24 kB / 1.199 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005706/0.354, allocations: 215.6 kB / 1.199 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3541, allocations: 87.61 kB / 1.199 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002259/0.3544, allocations: 202.8 kB / 1.199 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008186/0.3552, allocations: 0.5135 MB / 1.2 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3552, allocations: 0 / 1.2 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3552, allocations: 0 / 1.2 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.3552, allocations: 0 / 1.2 GB, free: 13.51 MB / 0.9512 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.001226/0.3565, allocations: 0.7453 MB / 1.2 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3565, allocations: 16.03 kB / 1.2 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3566, allocations: 56.59 kB / 1.201 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000706/0.3573, allocations: 410.3 kB / 1.201 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.3574, allocations: 28.56 kB / 1.201 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.3574, allocations: 24 kB / 1.201 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.3578, allocations: 191.3 kB / 1.201 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3578, allocations: 0 / 1.201 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.3579, allocations: 12 kB / 1.201 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.3579, allocations: 4 kB / 1.201 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.3581, allocations: 133.6 kB / 1.201 GB, free: 11.81 MB / 0.9512 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.001528/0.3597, allocations: 0.8832 MB / 1.202 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.3602, allocations: 110.6 kB / 1.202 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.3603, allocations: 52.83 kB / 1.202 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003342/0.3606, allocations: 340.4 kB / 1.203 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.3607, allocations: 34.56 kB / 1.203 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.3607, allocations: 0 / 1.203 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0004129/0.3611, allocations: 181.2 kB / 1.203 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3611, allocations: 51.41 kB / 1.203 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/0.3617, allocations: 457.9 kB / 1.203 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3618, allocations: 29.7 kB / 1.203 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.362, allocations: 208.4 kB / 1.204 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.362, allocations: 47.64 kB / 1.204 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3621, allocations: 53.66 kB / 1.204 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3623, allocations: 354.8 kB / 1.204 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3624, allocations: 47.98 kB / 1.204 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.3626, allocations: 113 kB / 1.204 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.3628, allocations: 139.3 kB / 1.204 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3628, allocations: 0 / 1.204 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000371/0.3632, allocations: 217.3 kB / 1.204 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3632, allocations: 10.5 kB / 1.204 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.3632, allocations: 0 / 1.204 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3633, allocations: 4 kB / 1.204 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.3635, allocations: 39.92 kB / 1.205 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.3635, allocations: 7.984 kB / 1.205 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.3638, allocations: 35.77 kB / 1.205 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.3639, allocations: 8.188 kB / 1.205 GB, free: 8.18 MB / 0.9512 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.0001711/0.364, allocations: 161.6 kB / 1.205 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.3641, allocations: 47.66 kB / 1.205 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.3645, allocations: 196.3 kB / 1.205 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3645, allocations: 0 / 1.205 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3645, allocations: 4 kB / 1.205 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3646, allocations: 0 / 1.205 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00085/0.3654, allocations: 0.6191 MB / 1.206 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3654, allocations: 4 kB / 1.206 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3655, allocations: 23.92 kB / 1.206 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.3656, allocations: 4 kB / 1.206 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.3656, allocations: 12.06 kB / 1.206 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3656, allocations: 0 / 1.206 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.3656, allocations: 7.922 kB / 1.206 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.366, allocations: 312.7 kB / 1.206 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.3661, allocations: 132.8 kB / 1.206 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.012e-05/0.3662, allocations: 3.984 kB / 1.206 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.3664, allocations: 15.98 kB / 1.206 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.3664, allocations: 11.94 kB / 1.206 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.3664, allocations: 7.984 kB / 1.206 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004095/0.3669, allocations: 327.1 kB / 1.206 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3669, allocations: 3.938 kB / 1.206 GB, free: 6.191 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004423/0.3673, allocations: 99.81 kB / 1.206 GB, free: 6.094 MB / 0.9512 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.0005298/0.3679, allocations: 218.7 kB / 1.207 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.3682, allocations: 135.8 kB / 1.207 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3682, allocations: 480 / 1.207 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.3683, allocations: 56.17 kB / 1.207 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009617/0.3693, allocations: 185.7 kB / 1.207 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.3706, allocations: 0.6979 MB / 1.208 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.3711, allocations: 0.8074 MB / 1.209 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-05/0.3712, allocations: 35.42 kB / 1.209 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.3712, allocations: 0 / 1.209 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of Templates: time 0.01104/0.3822, allocations: 6.348 MB / 1.215 GB, free: 13.63 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.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: 11.52742873702664]