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.000891/0.0008911, allocations: 92 kB / 16.02 MB, free: 80 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.001109/0.001108, allocations: 183.5 kB / 16.92 MB, free: 6.652 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.715/2.715, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 8.438 kB / 0.9034 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3345, allocations: 159.6 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.018/0.3526, allocations: 14.84 MB / 1.074 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007087/0.3597, allocations: 4.62 MB / 1.078 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006849/0.3604, allocations: 15.88 kB / 1.078 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007047/0.3611, allocations: 155 kB / 1.078 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.3629, allocations: 0.5275 MB / 1.079 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.3645, allocations: 0.512 MB / 1.08 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.3663, allocations: 1.236 MB / 1.081 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005905/0.3669, allocations: 275.7 kB / 1.081 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009153/0.3678, allocations: 366.3 kB / 1.081 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005953/0.3684, allocations: 310.5 kB / 1.082 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.37e-05/0.3685, allocations: 16 kB / 1.082 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/0.3691, allocations: 191.6 kB / 1.082 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.3692, allocations: 67.62 kB / 1.082 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003109/0.3695, allocations: 220.5 kB / 1.082 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.3701, allocations: 363.1 kB / 1.082 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3701, allocations: 0 / 1.082 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3701, allocations: 0 / 1.082 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.3702, allocations: 0 / 1.082 GB, free: 13.21 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.001097/0.3713, allocations: 0.6619 MB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3713, allocations: 15.97 kB / 1.083 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.3714, allocations: 52.31 kB / 1.083 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.372, allocations: 402 kB / 1.084 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.372, allocations: 24.38 kB / 1.084 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.3721, allocations: 27.94 kB / 1.084 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.3724, allocations: 191.3 kB / 1.084 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3725, allocations: 0 / 1.084 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.3725, allocations: 8 kB / 1.084 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3725, allocations: 8 kB / 1.084 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.3727, allocations: 133.6 kB / 1.084 GB, free: 11.61 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.001476/0.3742, allocations: 0.8829 MB / 1.085 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.3747, allocations: 110.6 kB / 1.085 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.365e-05/0.3748, allocations: 52.83 kB / 1.085 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.3751, allocations: 332.4 kB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3751, allocations: 38.55 kB / 1.085 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 2.986e-06/0.3751, allocations: 0 / 1.085 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.000363/0.3755, allocations: 173.1 kB / 1.085 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.3756, allocations: 51.41 kB / 1.086 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.3761, allocations: 469.8 kB / 1.086 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.3762, allocations: 25.7 kB / 1.086 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.3763, allocations: 220.2 kB / 1.086 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.3764, allocations: 39.45 kB / 1.086 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.3764, allocations: 21.72 kB / 1.086 GB, free: 9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3766, allocations: 354.7 kB / 1.087 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3767, allocations: 47.97 kB / 1.087 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.3769, allocations: 118.9 kB / 1.087 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.3771, allocations: 127.3 kB / 1.087 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3771, allocations: 0 / 1.087 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003544/0.3774, allocations: 221 kB / 1.087 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3775, allocations: 5.094 kB / 1.087 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.3775, allocations: 0 / 1.087 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3775, allocations: 8 kB / 1.087 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.3777, allocations: 47.92 kB / 1.087 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3777, allocations: 0 / 1.087 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.3781, allocations: 48.91 kB / 1.087 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.3781, allocations: 4 kB / 1.087 GB, free: 7.996 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.0001769/0.3783, allocations: 165.6 kB / 1.087 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.3783, allocations: 43.44 kB / 1.087 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.3787, allocations: 194.2 kB / 1.088 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.3787, allocations: 0 / 1.088 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3787, allocations: 0 / 1.088 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3787, allocations: 0 / 1.088 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/0.3796, allocations: 0.6264 MB / 1.088 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.3796, allocations: 0 / 1.088 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.3797, allocations: 27.92 kB / 1.088 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.3797, allocations: 4 kB / 1.088 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3797, allocations: 4.094 kB / 1.088 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.3797, allocations: 7.938 kB / 1.088 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3797, allocations: 3.984 kB / 1.088 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.3801, allocations: 301.1 kB / 1.089 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3802, allocations: 136.5 kB / 1.089 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.3803, allocations: 4 kB / 1.089 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.3805, allocations: 31.81 kB / 1.089 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.3806, allocations: 7.984 kB / 1.089 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3806, allocations: 12 kB / 1.089 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00041/0.381, allocations: 327.4 kB / 1.089 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.381, allocations: 7.938 kB / 1.089 GB, free: 6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004447/0.3814, allocations: 99.94 kB / 1.089 GB, free: 5.902 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.0004646/0.3819, allocations: 218.3 kB / 1.089 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.3822, allocations: 135.8 kB / 1.089 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3822, allocations: 0 / 1.089 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.976e-05/0.3823, allocations: 63.91 kB / 1.09 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.3837, allocations: 200 kB / 1.09 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3852, allocations: 0.8224 MB / 1.091 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.3856, allocations: 0.8038 MB / 1.091 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.41e-05/0.3857, allocations: 35.44 kB / 1.091 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/0.3857, allocations: 0 / 1.091 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of Templates: time 0.01029/0.396, allocations: 6.358 MB / 1.098 GB, free: 13.28 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