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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001344/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001426/0.001426, allocations: 195 kB / 16.14 MB, free: 6.648 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.8 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 61.05 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2982, allocations: 157.4 MB / 1.052 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01662/0.3149, allocations: 15.35 MB / 1.067 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007522/0.3225, allocations: 4.686 MB / 1.072 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.3232, allocations: 11.94 kB / 1.072 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007445/0.324, allocations: 159 kB / 1.072 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.3256, allocations: 0.5131 MB / 1.072 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.3271, allocations: 0.5086 MB / 1.073 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.3287, allocations: 1.239 MB / 1.074 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/0.3292, allocations: 287.5 kB / 1.074 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008421/0.33, allocations: 374.2 kB / 1.075 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004555/0.3305, allocations: 310.6 kB / 1.075 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.3306, allocations: 16 kB / 1.075 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004906/0.3311, allocations: 191.6 kB / 1.075 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.3312, allocations: 83.48 kB / 1.075 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.3315, allocations: 202.8 kB / 1.075 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006489/0.3321, allocations: 498.3 kB / 1.076 GB, free: 436 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3321, allocations: 0 / 1.076 GB, free: 436 kB / 0.8262 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3321, allocations: 0 / 1.076 GB, free: 436 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.3322, allocations: 0 / 1.076 GB, free: 436 kB / 0.8262 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.001195/0.3334, allocations: 0.7319 MB / 1.077 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3334, allocations: 8.031 kB / 1.077 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3335, allocations: 52.36 kB / 1.077 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005799/0.3341, allocations: 397.9 kB / 1.077 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.3341, allocations: 20.56 kB / 1.077 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.3342, allocations: 24 kB / 1.077 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.3346, allocations: 191.3 kB / 1.077 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3346, allocations: 0 / 1.077 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.3346, allocations: 15.98 kB / 1.077 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3346, allocations: 8 kB / 1.077 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/0.3349, allocations: 133.7 kB / 1.077 GB, free: 14.77 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.00148/0.3364, allocations: 0.8751 MB / 1.078 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.3368, allocations: 114.6 kB / 1.078 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.3369, allocations: 48.84 kB / 1.078 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.3372, allocations: 336.4 kB / 1.079 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.3372, allocations: 30.56 kB / 1.079 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3372, allocations: 0 / 1.079 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0004485/0.3377, allocations: 177.1 kB / 1.079 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3377, allocations: 59.41 kB / 1.079 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.3384, allocations: 457.8 kB / 1.079 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3384, allocations: 29.7 kB / 1.08 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.3386, allocations: 212.2 kB / 1.08 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.3386, allocations: 43.45 kB / 1.08 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.3387, allocations: 49.7 kB / 1.08 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3389, allocations: 350.8 kB / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.895e-05/0.339, allocations: 47.98 kB / 1.08 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.3391, allocations: 105.1 kB / 1.08 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.3394, allocations: 147.2 kB / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3394, allocations: 0 / 1.08 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000365/0.3398, allocations: 220.9 kB / 1.081 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3398, allocations: 8 kB / 1.081 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3398, allocations: 4 kB / 1.081 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3398, allocations: 0 / 1.081 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.34, allocations: 39.98 kB / 1.081 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3401, allocations: 11.92 kB / 1.081 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.3404, allocations: 39.67 kB / 1.081 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.3404, allocations: 7.984 kB / 1.081 GB, free: 11.14 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.000161/0.3406, allocations: 163.2 kB / 1.081 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.3407, allocations: 39.53 kB / 1.081 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.341, allocations: 192 kB / 1.081 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.341, allocations: 0 / 1.081 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.341, allocations: 4.062 kB / 1.081 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3411, allocations: 0 / 1.081 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000755/0.3418, allocations: 0.6264 MB / 1.082 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3418, allocations: 3.984 kB / 1.082 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3419, allocations: 24.22 kB / 1.082 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.342, allocations: 4 kB / 1.082 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.342, allocations: 4 kB / 1.082 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.342, allocations: 11.92 kB / 1.082 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.342, allocations: 3.938 kB / 1.082 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.3423, allocations: 298.5 kB / 1.082 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3424, allocations: 132.5 kB / 1.082 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.3425, allocations: 4 kB / 1.082 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3428, allocations: 27.89 kB / 1.082 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.3428, allocations: 11.92 kB / 1.082 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.3428, allocations: 4 kB / 1.082 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000473/0.3433, allocations: 323.1 kB / 1.083 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.116e-06/0.3433, allocations: 0 / 1.083 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00044/0.3438, allocations: 107.9 kB / 1.083 GB, free: 9.062 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.0004112/0.3442, allocations: 211.4 kB / 1.083 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.3444, allocations: 131.9 kB / 1.083 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3445, allocations: 0 / 1.083 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3446, allocations: 68.03 kB / 1.083 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.3458, allocations: 202.2 kB / 1.083 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.3472, allocations: 0.7848 MB / 1.084 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.3476, allocations: 0.8077 MB / 1.085 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002666/0.3479, allocations: 74.3 kB / 1.085 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.348, allocations: 31.44 kB / 1.085 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.348, allocations: 0 / 1.085 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of Templates: time 0.01379/0.3618, allocations: 7 MB / 1.092 GB, free: 15.83 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