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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.001, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 182.7 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003787, allocations: 8.281 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7421/0.7425, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01677/0.7593, allocations: 14.82 MB / 1.038 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00757/0.7669, allocations: 4.636 MB / 1.043 GB, free: 12.35 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.768, allocations: 15.88 kB / 1.043 GB, free: 12.34 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009037/0.7689, allocations: 147.1 kB / 1.043 GB, free: 12.19 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.7712, allocations: 0.5247 MB / 1.043 GB, free: 11.67 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.7733, allocations: 0.5177 MB / 1.044 GB, free: 11.16 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001796/0.7751, allocations: 1.243 MB / 1.045 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006147/0.7757, allocations: 273.4 kB / 1.045 GB, free: 9.637 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000956/0.7767, allocations: 374.3 kB / 1.046 GB, free: 9.27 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006124/0.7773, allocations: 302.5 kB / 1.046 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.321e-05/0.7774, allocations: 12 kB / 1.046 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005991/0.778, allocations: 191.6 kB / 1.046 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.7781, allocations: 75.61 kB / 1.046 GB, free: 8.699 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002796/0.7784, allocations: 208.6 kB / 1.046 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.779, allocations: 375 kB / 1.047 GB, free: 8.121 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.779, allocations: 0 / 1.047 GB, free: 8.121 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.968e-06/0.779, allocations: 8 kB / 1.047 GB, free: 8.113 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.779, allocations: 0 / 1.047 GB, free: 8.113 MB / 0.795 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.001184/0.7802, allocations: 0.6464 MB / 1.047 GB, free: 7.414 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7803, allocations: 12.03 kB / 1.047 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.7804, allocations: 48.38 kB / 1.048 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.781, allocations: 405.9 kB / 1.048 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.7811, allocations: 24.38 kB / 1.048 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.7811, allocations: 24 kB / 1.048 GB, free: 6.871 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.7815, allocations: 191.3 kB / 1.048 GB, free: 6.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.7815, allocations: 0 / 1.048 GB, free: 6.68 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.538e-05/0.7815, allocations: 8 kB / 1.048 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.7816, allocations: 8 kB / 1.048 GB, free: 6.664 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000241/0.7818, allocations: 137.7 kB / 1.048 GB, free: 6.527 MB / 0.795 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.001558/0.7834, allocations: 0.879 MB / 1.049 GB, free: 5.574 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.7838, allocations: 122.6 kB / 1.049 GB, free: 5.445 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.319e-05/0.7839, allocations: 44.84 kB / 1.049 GB, free: 5.398 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.7842, allocations: 336.4 kB / 1.05 GB, free: 4.996 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.7842, allocations: 30.56 kB / 1.05 GB, free: 4.957 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.7843, allocations: 0 / 1.05 GB, free: 4.957 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0003913/0.7847, allocations: 177.1 kB / 1.05 GB, free: 4.777 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.7847, allocations: 59.41 kB / 1.05 GB, free: 4.707 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005674/0.7853, allocations: 461.8 kB / 1.05 GB, free: 4.246 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.7853, allocations: 33.7 kB / 1.05 GB, free: 4.207 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.7855, allocations: 208.3 kB / 1.051 GB, free: 3.996 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.7855, allocations: 43.38 kB / 1.051 GB, free: 3.953 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.7856, allocations: 29.7 kB / 1.051 GB, free: 3.918 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7857, allocations: 350.7 kB / 1.051 GB, free: 3.566 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.845e-05/0.7858, allocations: 55.97 kB / 1.051 GB, free: 3.512 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.7859, allocations: 102.9 kB / 1.051 GB, free: 3.395 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.7861, allocations: 135.3 kB / 1.051 GB, free: 3.25 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7862, allocations: 0 / 1.051 GB, free: 3.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003618/0.7865, allocations: 221 kB / 1.051 GB, free: 3.027 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7866, allocations: 12 kB / 1.051 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7866, allocations: 0 / 1.051 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.7866, allocations: 0 / 1.051 GB, free: 3.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.7868, allocations: 43.97 kB / 1.052 GB, free: 2.973 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.7868, allocations: 4 kB / 1.052 GB, free: 2.969 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.7872, allocations: 47.59 kB / 1.052 GB, free: 2.922 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.7872, allocations: 12 kB / 1.052 GB, free: 2.91 MB / 0.795 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.0001652/0.7874, allocations: 159.3 kB / 1.052 GB, free: 2.746 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.7875, allocations: 39.44 kB / 1.052 GB, free: 2.707 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.7878, allocations: 199.1 kB / 1.052 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.7878, allocations: 4 kB / 1.052 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7879, allocations: 192 / 1.052 GB, free: 2.508 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.7879, allocations: 3.984 kB / 1.052 GB, free: 2.504 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/0.7886, allocations: 0.6224 MB / 1.053 GB, free: 1.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.7886, allocations: 4 kB / 1.053 GB, free: 1.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.7887, allocations: 27.92 kB / 1.053 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7888, allocations: 0 / 1.053 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.7888, allocations: 4 kB / 1.053 GB, free: 1.777 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.7888, allocations: 4.062 kB / 1.053 GB, free: 1.773 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7888, allocations: 8 kB / 1.053 GB, free: 1.766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.7891, allocations: 294.2 kB / 1.053 GB, free: 1.449 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.7892, allocations: 136.6 kB / 1.053 GB, free: 1.297 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.7893, allocations: 8 kB / 1.053 GB, free: 1.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.7896, allocations: 27.98 kB / 1.053 GB, free: 1.262 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.7896, allocations: 7.984 kB / 1.053 GB, free: 1.254 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.7896, allocations: 4 kB / 1.053 GB, free: 1.25 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004002/0.79, allocations: 331.1 kB / 1.053 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.79, allocations: 0 / 1.053 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004656/0.7905, allocations: 107.8 kB / 1.053 GB, free: 0.8203 MB / 0.795 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.000477/0.791, allocations: 231.5 kB / 1.054 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002767/0.7913, allocations: 127.9 kB / 1.054 GB, free: 480 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7913, allocations: 0 / 1.054 GB, free: 480 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.08e-05/0.7914, allocations: 59.84 kB / 1.054 GB, free: 420 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.7927, allocations: 207.2 kB / 1.054 GB, free: 220 kB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.7941, allocations: 0.8211 MB / 1.055 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.7944, allocations: 0.8038 MB / 1.056 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.797e-05/0.7945, allocations: 35.42 kB / 1.056 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of SimCode: time 7.21e-07/0.7945, allocations: 0 / 1.056 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.01063/0.8052, allocations: 6.344 MB / 1.062 GB, free: 8.215 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches