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.0009725/0.0009725, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008152/0.008152, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.56/1.56, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.844/2.844, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.000385, allocations: 8.812 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3541, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01596/0.3702, allocations: 14.83 MB / 1.073 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007409/0.3776, allocations: 4.631 MB / 1.078 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007118/0.3784, allocations: 15.88 kB / 1.078 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.3791, allocations: 155.1 kB / 1.078 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001673/0.3808, allocations: 0.5053 MB / 1.078 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.3824, allocations: 0.523 MB / 1.079 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.3841, allocations: 1.243 MB / 1.08 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.3845, allocations: 275.7 kB / 1.08 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006757/0.3852, allocations: 366.3 kB / 1.081 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/0.3856, allocations: 310.5 kB / 1.081 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.3857, allocations: 12 kB / 1.081 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/0.3862, allocations: 191.6 kB / 1.081 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.764e-05/0.3863, allocations: 71.61 kB / 1.081 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.3865, allocations: 220.5 kB / 1.081 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006042/0.3871, allocations: 486.3 kB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3871, allocations: 3.938 kB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3871, allocations: 0 / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.3871, allocations: 0 / 1.082 GB, free: 13.61 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.001083/0.3882, allocations: 0.6658 MB / 1.083 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3883, allocations: 8.031 kB / 1.083 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.963e-05/0.3884, allocations: 48.38 kB / 1.083 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.3889, allocations: 402 kB / 1.083 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.389, allocations: 24.38 kB / 1.083 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.389, allocations: 20 kB / 1.083 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.3893, allocations: 199.2 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.3894, allocations: 0 / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.3894, allocations: 8 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3894, allocations: 7.938 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.3896, allocations: 133.7 kB / 1.083 GB, free: 12.02 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.00149/0.3911, allocations: 0.8751 MB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.3916, allocations: 118.6 kB / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.3917, allocations: 52.83 kB / 1.084 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/0.3921, allocations: 332.4 kB / 1.085 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3921, allocations: 34.5 kB / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.3921, allocations: 0 / 1.085 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003761/0.3925, allocations: 177.1 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3925, allocations: 55.41 kB / 1.085 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.3931, allocations: 461.8 kB / 1.085 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.3931, allocations: 33.7 kB / 1.085 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.3933, allocations: 212.2 kB / 1.086 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.3934, allocations: 39.39 kB / 1.086 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3934, allocations: 29.7 kB / 1.086 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.3936, allocations: 350.7 kB / 1.086 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.3937, allocations: 51.97 kB / 1.086 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.3939, allocations: 111.9 kB / 1.086 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.3941, allocations: 127.3 kB / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3941, allocations: 4 kB / 1.086 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003329/0.3944, allocations: 213 kB / 1.087 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3944, allocations: 11.98 kB / 1.087 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3944, allocations: 0 / 1.087 GB, free: 8.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3945, allocations: 4.188 kB / 1.087 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.3947, allocations: 43.92 kB / 1.087 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3947, allocations: 7.938 kB / 1.087 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.395, allocations: 43.66 kB / 1.087 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.3951, allocations: 8 kB / 1.087 GB, free: 8.414 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.000154/0.3952, allocations: 157.7 kB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.3953, allocations: 43.44 kB / 1.087 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.3956, allocations: 193.1 kB / 1.087 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3957, allocations: 0 / 1.087 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3957, allocations: 4 kB / 1.087 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3957, allocations: 0 / 1.087 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007517/0.3964, allocations: 0.6301 MB / 1.088 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.3965, allocations: 8.062 kB / 1.088 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.3966, allocations: 19.98 kB / 1.088 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3966, allocations: 4 kB / 1.088 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3966, allocations: 8 kB / 1.088 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3966, allocations: 3.938 kB / 1.088 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3966, allocations: 0 / 1.088 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.3969, allocations: 298.4 kB / 1.088 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.3971, allocations: 136.5 kB / 1.088 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.3971, allocations: 8 kB / 1.088 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.3974, allocations: 23.83 kB / 1.088 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3974, allocations: 16.06 kB / 1.088 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3974, allocations: 8 kB / 1.088 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003983/0.3978, allocations: 327 kB / 1.088 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3978, allocations: 0 / 1.088 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004514/0.3983, allocations: 115.9 kB / 1.089 GB, free: 6.312 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.0004712/0.3988, allocations: 188.6 kB / 1.089 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3991, allocations: 136 kB / 1.089 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3991, allocations: 4 kB / 1.089 GB, free: 5.992 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.3992, allocations: 63.91 kB / 1.089 GB, free: 5.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.4005, allocations: 205.3 kB / 1.089 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.4018, allocations: 0.788 MB / 1.09 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4022, allocations: 0.8116 MB / 1.091 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002518/0.4025, allocations: 70.98 kB / 1.091 GB, free: 4 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.427e-05/0.4026, allocations: 31.44 kB / 1.091 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.4026, allocations: 0 / 1.091 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of Templates: time 0.01315/0.4157, allocations: 6.983 MB / 1.098 GB, free: 13.1 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