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.001626/0.001626, allocations: 113.9 kB / 17.13 MB, free: 5.938 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.001654/0.001654, allocations: 197.2 kB / 20.08 MB, free: 3 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.463/1.463, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.64/2.64, allocations: 443.5 MB / 0.7293 GB, free: 14.61 MB / 0.5762 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.002198/0.002198, allocations: 67.88 kB / 1.057 GB, free: 2.02 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3202, allocations: 160.7 MB / 1.214 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01844/0.3387, allocations: 15.51 MB / 1.229 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007132/0.3458, allocations: 4.701 MB / 1.234 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006468/0.3464, allocations: 15.88 kB / 1.234 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006982/0.3471, allocations: 186.6 kB / 1.234 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.3487, allocations: 0.5947 MB / 1.235 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.3503, allocations: 0.584 MB / 1.235 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.3517, allocations: 0.9587 MB / 1.236 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004642/0.3522, allocations: 279.8 kB / 1.236 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007924/0.3529, allocations: 418.3 kB / 1.237 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.3534, allocations: 314.6 kB / 1.237 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.3535, allocations: 27.94 kB / 1.237 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000554/0.354, allocations: 219.6 kB / 1.237 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.3542, allocations: 87.55 kB / 1.237 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.3544, allocations: 210.8 kB / 1.238 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007625/0.3551, allocations: 0.5018 MB / 1.238 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3551, allocations: 0 / 1.238 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3551, allocations: 0 / 1.238 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3551, allocations: 0 / 1.238 GB, free: 8.312 MB / 0.9825 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.001231/0.3564, allocations: 0.7548 MB / 1.239 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3564, allocations: 8.031 kB / 1.239 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.3565, allocations: 48.66 kB / 1.239 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007342/0.3573, allocations: 418.3 kB / 1.239 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.3573, allocations: 20.56 kB / 1.239 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.3573, allocations: 28 kB / 1.239 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.3577, allocations: 191.3 kB / 1.239 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3577, allocations: 0 / 1.239 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.3577, allocations: 8 kB / 1.239 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3577, allocations: 4 kB / 1.239 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.358, allocations: 141.6 kB / 1.24 GB, free: 6.613 MB / 0.9825 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.001514/0.3595, allocations: 0.8832 MB / 1.24 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.36, allocations: 114.6 kB / 1.241 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.36, allocations: 44.84 kB / 1.241 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.3603, allocations: 332.4 kB / 1.241 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3604, allocations: 38.56 kB / 1.241 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.3604, allocations: 0 / 1.241 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0004039/0.3608, allocations: 177.3 kB / 1.241 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3608, allocations: 51.41 kB / 1.241 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/0.3614, allocations: 457.9 kB / 1.242 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3614, allocations: 29.7 kB / 1.242 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3616, allocations: 216.4 kB / 1.242 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3616, allocations: 43.64 kB / 1.242 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.3617, allocations: 61.64 kB / 1.242 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.3619, allocations: 350.8 kB / 1.242 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.362, allocations: 43.98 kB / 1.242 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.3622, allocations: 101.1 kB / 1.242 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.3624, allocations: 143.2 kB / 1.243 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3624, allocations: 4 kB / 1.243 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003705/0.3628, allocations: 217.4 kB / 1.243 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3628, allocations: 4.094 kB / 1.243 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3628, allocations: 3.938 kB / 1.243 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3628, allocations: 4 kB / 1.243 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.363, allocations: 43.91 kB / 1.243 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.363, allocations: 4 kB / 1.243 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.3633, allocations: 35.77 kB / 1.243 GB, free: 3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.3634, allocations: 12 kB / 1.243 GB, free: 2.988 MB / 0.9825 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.0001572/0.3635, allocations: 149.8 kB / 1.243 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.3636, allocations: 47.78 kB / 1.243 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.3639, allocations: 211 kB / 1.243 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3639, allocations: 0 / 1.243 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.364, allocations: 4 kB / 1.243 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.364, allocations: 0 / 1.243 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008327/0.3648, allocations: 0.6229 MB / 1.244 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.3648, allocations: 4 kB / 1.244 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.3649, allocations: 23.92 kB / 1.244 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3649, allocations: 4 kB / 1.244 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3649, allocations: 4 kB / 1.244 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3649, allocations: 0 / 1.244 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.3649, allocations: 3.938 kB / 1.244 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.3653, allocations: 310.6 kB / 1.244 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3654, allocations: 136.8 kB / 1.244 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.3655, allocations: 4 kB / 1.244 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.3657, allocations: 15.98 kB / 1.244 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.3657, allocations: 15.92 kB / 1.244 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3657, allocations: 4 kB / 1.244 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004069/0.3661, allocations: 327.1 kB / 1.245 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3661, allocations: 0 / 1.245 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004521/0.3666, allocations: 103.8 kB / 1.245 GB, free: 0.9062 MB / 0.9825 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.0005227/0.3671, allocations: 225.1 kB / 1.245 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.3674, allocations: 131.8 kB / 1.245 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3674, allocations: 0 / 1.245 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.694e-05/0.3675, allocations: 59.86 kB / 1.245 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000949/0.3685, allocations: 181.5 kB / 1.245 GB, free: 336 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3699, allocations: 0.6901 MB / 1.246 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.3703, allocations: 0.8114 MB / 1.247 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/0.3704, allocations: 31.42 kB / 1.247 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/0.3704, allocations: 0 / 1.247 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of Templates: time 0.01082/0.3812, allocations: 6.42 MB / 1.253 GB, free: 8.383 MB / 0.9981 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: 12.310792586999014]