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.009858/0.009858, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001937/0.001937, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.543/1.543, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.866/2.866, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 64.05 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4221, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01669/0.4388, allocations: 15.39 MB / 1.223 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006925/0.4458, allocations: 4.673 MB / 1.227 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008017/0.4466, allocations: 15.88 kB / 1.227 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008427/0.4475, allocations: 198.6 kB / 1.228 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.4494, allocations: 0.6011 MB / 1.228 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.4511, allocations: 0.5713 MB / 1.229 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.4526, allocations: 0.9625 MB / 1.23 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006336/0.4532, allocations: 323.8 kB / 1.23 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008733/0.4541, allocations: 418.3 kB / 1.23 GB, free: 2.438 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000556/0.4547, allocations: 306.5 kB / 1.231 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/0.4548, allocations: 24 kB / 1.231 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005792/0.4554, allocations: 215.6 kB / 1.231 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.4555, allocations: 83.61 kB / 1.231 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.4558, allocations: 206.8 kB / 1.231 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007922/0.4566, allocations: 0.5061 MB / 1.232 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.4566, allocations: 0 / 1.232 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4566, allocations: 0 / 1.232 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.4566, allocations: 0 / 1.232 GB, free: 1.109 MB / 0.9825 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.001275/0.4579, allocations: 0.7435 MB / 1.232 GB, free: 324 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.458, allocations: 8.031 kB / 1.232 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.4581, allocations: 52.38 kB / 1.232 GB, free: 264 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007821/0.4589, allocations: 406 kB / 1.233 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.4589, allocations: 20.56 kB / 1.233 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.459, allocations: 24 kB / 1.233 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.4594, allocations: 191.3 kB / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4594, allocations: 4 kB / 1.233 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.4594, allocations: 8 kB / 1.233 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4594, allocations: 4 kB / 1.233 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.4597, allocations: 137.6 kB / 1.233 GB, free: 15.44 MB / 0.9981 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.001558/0.4612, allocations: 0.8796 MB / 1.234 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.4617, allocations: 118.6 kB / 1.234 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.217e-05/0.4618, allocations: 48.83 kB / 1.234 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/0.4621, allocations: 340.3 kB / 1.234 GB, free: 13.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.4621, allocations: 38.56 kB / 1.235 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.4621, allocations: 0 / 1.235 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004047/0.4626, allocations: 173 kB / 1.235 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.4626, allocations: 55.39 kB / 1.235 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/0.4632, allocations: 457.9 kB / 1.235 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.4632, allocations: 29.7 kB / 1.235 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.4634, allocations: 208.2 kB / 1.235 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.4634, allocations: 39.45 kB / 1.235 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/0.4635, allocations: 61.59 kB / 1.236 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4637, allocations: 350.8 kB / 1.236 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4638, allocations: 47.97 kB / 1.236 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.4639, allocations: 109 kB / 1.236 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.4642, allocations: 131.2 kB / 1.236 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4642, allocations: 4 kB / 1.236 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003711/0.4646, allocations: 221 kB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4646, allocations: 4 kB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4647, allocations: 4 kB / 1.236 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4647, allocations: 0 / 1.236 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.4649, allocations: 51.91 kB / 1.236 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.4649, allocations: 0 / 1.236 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.4652, allocations: 35.67 kB / 1.236 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.4653, allocations: 11.98 kB / 1.236 GB, free: 11.8 MB / 0.9981 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.0001578/0.4654, allocations: 153.8 kB / 1.237 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.4655, allocations: 39.52 kB / 1.237 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.4659, allocations: 199.6 kB / 1.237 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4659, allocations: 4 kB / 1.237 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4659, allocations: 0 / 1.237 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4659, allocations: 0 / 1.237 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.4667, allocations: 0.6264 MB / 1.237 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.4667, allocations: 0 / 1.237 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.4668, allocations: 27.92 kB / 1.237 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.4668, allocations: 4.031 kB / 1.237 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.4669, allocations: 12.05 kB / 1.237 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4669, allocations: 0 / 1.237 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.4669, allocations: 7.938 kB / 1.237 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.4672, allocations: 294.5 kB / 1.238 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.4673, allocations: 136.4 kB / 1.238 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.4674, allocations: 8 kB / 1.238 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.4676, allocations: 11.98 kB / 1.238 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4677, allocations: 19.92 kB / 1.238 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.4677, allocations: 4 kB / 1.238 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003946/0.4681, allocations: 323.1 kB / 1.238 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4681, allocations: 0 / 1.238 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004599/0.4685, allocations: 100 kB / 1.238 GB, free: 9.746 MB / 0.9981 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.0005409/0.4691, allocations: 223.8 kB / 1.239 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.4694, allocations: 139.8 kB / 1.239 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4694, allocations: 0 / 1.239 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.4696, allocations: 55.92 kB / 1.239 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.4705, allocations: 180.7 kB / 1.239 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.4719, allocations: 0.6541 MB / 1.24 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.4723, allocations: 0.8113 MB / 1.24 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002489/0.4726, allocations: 70.48 kB / 1.24 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.368e-05/0.4727, allocations: 39.42 kB / 1.24 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/0.4727, allocations: 0 / 1.24 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of Templates: time 0.01367/0.4863, allocations: 7.083 MB / 1.247 GB, free: 0.5703 MB / 0.9981 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