Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00153/0.00153, allocations: 100.1 kB / 15.88 MB, free: 8 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.001749/0.001749, allocations: 199.3 kB / 16.79 MB, free: 6.824 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.706/2.706, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 62.02 kB / 0.8991 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3463, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01508/0.3615, allocations: 15.36 MB / 1.068 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006028/0.3675, allocations: 4.682 MB / 1.072 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006222/0.3682, allocations: 15.88 kB / 1.072 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006114/0.3688, allocations: 155.1 kB / 1.073 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.3702, allocations: 0.5092 MB / 1.073 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.3717, allocations: 0.5145 MB / 1.074 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001323/0.373, allocations: 1.247 MB / 1.075 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.3734, allocations: 279.5 kB / 1.075 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006166/0.3741, allocations: 382.2 kB / 1.075 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.3744, allocations: 302.6 kB / 1.076 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.3745, allocations: 20 kB / 1.076 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004573/0.3749, allocations: 195.6 kB / 1.076 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3751, allocations: 79.59 kB / 1.076 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3752, allocations: 190.8 kB / 1.076 GB, free: 320 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004367/0.3757, allocations: 371.2 kB / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3757, allocations: 0 / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.21e-07/0.3757, allocations: 0 / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3757, allocations: 0 / 1.076 GB, free: 15.95 MB / 0.8419 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.001167/0.3769, allocations: 0.7396 MB / 1.077 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3769, allocations: 15.97 kB / 1.077 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.748e-05/0.3771, allocations: 48.38 kB / 1.077 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.3776, allocations: 390 kB / 1.078 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3776, allocations: 24.56 kB / 1.078 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.3777, allocations: 24 kB / 1.078 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.3781, allocations: 199.2 kB / 1.078 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3781, allocations: 0 / 1.078 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.3781, allocations: 4 kB / 1.078 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3781, allocations: 8 kB / 1.078 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.3784, allocations: 133.6 kB / 1.078 GB, free: 14.29 MB / 0.8419 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.001389/0.3797, allocations: 0.879 MB / 1.079 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.3802, allocations: 118.6 kB / 1.079 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.702e-05/0.3803, allocations: 52.77 kB / 1.079 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.3806, allocations: 332.4 kB / 1.079 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3806, allocations: 34.56 kB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.3806, allocations: 4 kB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003551/0.381, allocations: 177 kB / 1.08 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.381, allocations: 55.41 kB / 1.08 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.3815, allocations: 453.8 kB / 1.08 GB, free: 12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.3815, allocations: 33.7 kB / 1.08 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.3817, allocations: 212.2 kB / 1.08 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3817, allocations: 31.47 kB / 1.08 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-05/0.3818, allocations: 57.69 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.382, allocations: 350.8 kB / 1.081 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/0.3821, allocations: 51.97 kB / 1.081 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.3822, allocations: 111.9 kB / 1.081 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.3824, allocations: 127.3 kB / 1.081 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3824, allocations: 11.94 kB / 1.081 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003524/0.3828, allocations: 217 kB / 1.081 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3828, allocations: 4 kB / 1.081 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3828, allocations: 4 kB / 1.081 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3829, allocations: 3.984 kB / 1.081 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3831, allocations: 47.92 kB / 1.081 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3831, allocations: 0 / 1.081 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.3834, allocations: 51.58 kB / 1.081 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.3835, allocations: 12 kB / 1.081 GB, free: 10.64 MB / 0.8419 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.0001617/0.3836, allocations: 157.7 kB / 1.081 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.3837, allocations: 39.62 kB / 1.081 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.3841, allocations: 197.4 kB / 1.082 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.3841, allocations: 0 / 1.082 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3841, allocations: 4 kB / 1.082 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3841, allocations: 0 / 1.082 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000809/0.3849, allocations: 0.6225 MB / 1.082 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.385, allocations: 4.062 kB / 1.082 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.3851, allocations: 27.92 kB / 1.082 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3851, allocations: 0 / 1.082 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3851, allocations: 4.125 kB / 1.082 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.3851, allocations: 8 kB / 1.082 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3851, allocations: 3.938 kB / 1.082 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.3854, allocations: 296.8 kB / 1.083 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3856, allocations: 132.5 kB / 1.083 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.3856, allocations: 11.98 kB / 1.083 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.3859, allocations: 15.89 kB / 1.083 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3859, allocations: 19.92 kB / 1.083 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.386, allocations: 7.938 kB / 1.083 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003625/0.3863, allocations: 327.1 kB / 1.083 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3863, allocations: 288 / 1.083 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004264/0.3868, allocations: 103.9 kB / 1.083 GB, free: 8.566 MB / 0.8419 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.0004554/0.3872, allocations: 219.1 kB / 1.083 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.3875, allocations: 131.8 kB / 1.084 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3875, allocations: 0 / 1.084 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.3876, allocations: 55.92 kB / 1.084 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.3888, allocations: 208.2 kB / 1.084 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3901, allocations: 0.8076 MB / 1.085 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3904, allocations: 0.8077 MB / 1.085 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.3905, allocations: 35.42 kB / 1.085 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3905, allocations: 0 / 1.085 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of Templates: time 0.009005/0.3995, allocations: 6.398 MB / 1.092 GB, free: 15.93 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches