Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing") translateModel(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y1|y2",fileNamePrefix="Buildings_latest_Buildings.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.001597/0.001597, allocations: 108 kB / 15.61 MB, free: 152 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.002549/0.002549, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.997/2.997, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.23 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3808, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01622/0.397, allocations: 15.39 MB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006845/0.4039, allocations: 4.674 MB / 1.088 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000725/0.4046, allocations: 15.88 kB / 1.088 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006764/0.4053, allocations: 182.6 kB / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.4071, allocations: 0.5673 MB / 1.089 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.4087, allocations: 0.5631 MB / 1.089 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.41, allocations: 0.9586 MB / 1.09 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005258/0.4106, allocations: 325.6 kB / 1.09 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007831/0.4114, allocations: 410.2 kB / 1.091 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004148/0.4118, allocations: 306.7 kB / 1.091 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.4119, allocations: 28 kB / 1.091 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005628/0.4124, allocations: 211.6 kB / 1.091 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.4126, allocations: 87.61 kB / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.4128, allocations: 202.8 kB / 1.092 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000674/0.4135, allocations: 0.4906 MB / 1.092 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4135, allocations: 0 / 1.092 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4135, allocations: 0 / 1.092 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.4135, allocations: 4 kB / 1.092 GB, free: 1.949 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.001084/0.4146, allocations: 0.7396 MB / 1.093 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4147, allocations: 12.03 kB / 1.093 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.315e-05/0.4148, allocations: 48.38 kB / 1.093 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.4153, allocations: 394 kB / 1.093 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.4153, allocations: 16.56 kB / 1.093 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.4154, allocations: 28 kB / 1.093 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.4157, allocations: 199.2 kB / 1.093 GB, free: 444 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4157, allocations: 0 / 1.093 GB, free: 444 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.4157, allocations: 8 kB / 1.093 GB, free: 436 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.4157, allocations: 7.984 kB / 1.093 GB, free: 428 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.416, allocations: 133.7 kB / 1.094 GB, free: 296 kB / 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.001468/0.4174, allocations: 0.8868 MB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.4179, allocations: 110.6 kB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.418, allocations: 48.84 kB / 1.095 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.4183, allocations: 336.4 kB / 1.095 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.4184, allocations: 38.5 kB / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.4184, allocations: 0 / 1.095 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.000354/0.4187, allocations: 169.1 kB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.4188, allocations: 55.41 kB / 1.095 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.4193, allocations: 457.8 kB / 1.096 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.4193, allocations: 33.69 kB / 1.096 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.4195, allocations: 208.2 kB / 1.096 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.4195, allocations: 43.45 kB / 1.096 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.4196, allocations: 61.59 kB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4197, allocations: 346.8 kB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.206e-05/0.4198, allocations: 51.97 kB / 1.096 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.42, allocations: 105 kB / 1.096 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.4202, allocations: 139.2 kB / 1.097 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4202, allocations: 0 / 1.097 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003316/0.4205, allocations: 221 kB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4205, allocations: 4 kB / 1.097 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4206, allocations: 64 / 1.097 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4206, allocations: 8 kB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.4208, allocations: 47.91 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4208, allocations: 0 / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.4211, allocations: 39.67 kB / 1.097 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.4211, allocations: 11.98 kB / 1.097 GB, free: 12.66 MB / 0.8575 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.0001536/0.4213, allocations: 153.7 kB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/0.4214, allocations: 43.45 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003388/0.4217, allocations: 189.9 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4217, allocations: 4 kB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4217, allocations: 4 kB / 1.097 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4217, allocations: 192 / 1.097 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.4225, allocations: 0.634 MB / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4225, allocations: 0 / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.4226, allocations: 23.98 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4226, allocations: 0 / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4226, allocations: 8.125 kB / 1.098 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4226, allocations: 4 kB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4226, allocations: 7.938 kB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.4229, allocations: 286.4 kB / 1.098 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.4231, allocations: 140.5 kB / 1.098 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.4232, allocations: 4 kB / 1.098 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.4234, allocations: 11.98 kB / 1.098 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.4234, allocations: 11.92 kB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.4234, allocations: 8 kB / 1.098 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000367/0.4238, allocations: 323.1 kB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4238, allocations: 3.938 kB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004235/0.4242, allocations: 107.9 kB / 1.099 GB, free: 10.59 MB / 0.8575 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.0004696/0.4247, allocations: 218.5 kB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.425, allocations: 143.8 kB / 1.099 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.425, allocations: 0 / 1.099 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-05/0.4251, allocations: 59.92 kB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.4261, allocations: 183.4 kB / 1.099 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.4274, allocations: 0.6657 MB / 1.1 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.4278, allocations: 0.8113 MB / 1.101 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.4281, allocations: 67.05 kB / 1.101 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.4282, allocations: 35.42 kB / 1.101 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.4282, allocations: 0 / 1.101 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of Templates: time 0.01428/0.4425, allocations: 7.072 MB / 1.108 GB, free: 1.426 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches