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.001351/0.001351, allocations: 107 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001448, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.422/2.422, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.86 kB / 0.8707 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2575, allocations: 151.6 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01619/0.2737, allocations: 15.4 MB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006032/0.2798, allocations: 4.681 MB / 1.038 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/0.2803, allocations: 11.94 kB / 1.038 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.2808, allocations: 190.5 kB / 1.039 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.2821, allocations: 0.5652 MB / 1.039 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.2836, allocations: 0.573 MB / 1.04 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.2847, allocations: 0.9665 MB / 1.041 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004885/0.2852, allocations: 316.6 kB / 1.041 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.286, allocations: 418.3 kB / 1.041 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004015/0.2864, allocations: 302.6 kB / 1.042 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.2864, allocations: 24 kB / 1.042 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.2869, allocations: 211.6 kB / 1.042 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.287, allocations: 83.61 kB / 1.042 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.2873, allocations: 206.8 kB / 1.042 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.288, allocations: 0.5099 MB / 1.043 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.288, allocations: 0 / 1.043 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.288, allocations: 0 / 1.043 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.6e-05/0.288, allocations: 4 kB / 1.043 GB, free: 1.289 MB / 0.8106 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.001343/0.2894, allocations: 0.7356 MB / 1.043 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.2894, allocations: 8.922 kB / 1.043 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.2895, allocations: 48.38 kB / 1.043 GB, free: 460 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.2902, allocations: 410 kB / 1.044 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.2903, allocations: 24.64 kB / 1.044 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.2903, allocations: 24 kB / 1.044 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.2907, allocations: 195.3 kB / 1.044 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.2907, allocations: 3.938 kB / 1.044 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.2907, allocations: 12 kB / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.2907, allocations: 4 kB / 1.044 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.291, allocations: 133.7 kB / 1.044 GB, free: 15.61 MB / 0.8262 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.001512/0.2925, allocations: 0.875 MB / 1.045 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.293, allocations: 122.6 kB / 1.045 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.2931, allocations: 44.84 kB / 1.045 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.2934, allocations: 336.4 kB / 1.046 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.2935, allocations: 42.44 kB / 1.046 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.2935, allocations: 0 / 1.046 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0003979/0.2939, allocations: 165.2 kB / 1.046 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.2939, allocations: 55.41 kB / 1.046 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.2945, allocations: 461.8 kB / 1.046 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2945, allocations: 25.7 kB / 1.046 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.2947, allocations: 216.2 kB / 1.046 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.2948, allocations: 35.45 kB / 1.046 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.2949, allocations: 53.7 kB / 1.047 GB, free: 13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2951, allocations: 354.8 kB / 1.047 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.176e-05/0.2952, allocations: 43.98 kB / 1.047 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.2953, allocations: 113 kB / 1.047 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.2955, allocations: 139.1 kB / 1.047 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2955, allocations: 0 / 1.047 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003539/0.2959, allocations: 221 kB / 1.047 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.2959, allocations: 4 kB / 1.047 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2959, allocations: 4 kB / 1.047 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.296, allocations: 4 kB / 1.047 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.2962, allocations: 47.98 kB / 1.047 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2962, allocations: 4 kB / 1.047 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.2965, allocations: 35.75 kB / 1.047 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.2965, allocations: 8 kB / 1.047 GB, free: 11.99 MB / 0.8262 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.0001553/0.2967, allocations: 157.7 kB / 1.048 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.2968, allocations: 39.44 kB / 1.048 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.2971, allocations: 199.3 kB / 1.048 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.2971, allocations: 4 kB / 1.048 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2972, allocations: 0 / 1.048 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2972, allocations: 0 / 1.048 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007768/0.2979, allocations: 0.6302 MB / 1.048 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.298, allocations: 0 / 1.048 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.2981, allocations: 23.98 kB / 1.048 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2981, allocations: 0 / 1.048 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.2981, allocations: 8.281 kB / 1.049 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2981, allocations: 3.938 kB / 1.049 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.2981, allocations: 7.938 kB / 1.049 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.2984, allocations: 298.3 kB / 1.049 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.2986, allocations: 132.7 kB / 1.049 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.909e-05/0.2986, allocations: 7.984 kB / 1.049 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.2989, allocations: 7.984 kB / 1.049 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.2989, allocations: 15.94 kB / 1.049 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.2989, allocations: 11.98 kB / 1.049 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003727/0.2993, allocations: 323.1 kB / 1.049 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2993, allocations: 0 / 1.049 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004258/0.2998, allocations: 107.8 kB / 1.049 GB, free: 9.914 MB / 0.8262 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.0004347/0.3002, allocations: 220.2 kB / 1.05 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.3005, allocations: 127.9 kB / 1.05 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/0.3005, allocations: 4 kB / 1.05 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.841e-05/0.3006, allocations: 59.91 kB / 1.05 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.3014, allocations: 189.1 kB / 1.05 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.3026, allocations: 0.6581 MB / 1.051 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.303, allocations: 0.8035 MB / 1.051 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.3032, allocations: 67.73 kB / 1.051 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.3032, allocations: 35.42 kB / 1.051 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of SimCode: time 1.483e-06/0.3032, allocations: 7.938 kB / 1.051 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of Templates: time 0.0121/0.3153, allocations: 7.131 MB / 1.058 GB, free: 0.7227 MB / 0.8262 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 -s cvode -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