Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00153/0.001529, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001572/0.001572, allocations: 194.4 kB / 16.25 MB, free: 6.621 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 469.8 MB / 0.742 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001926, allocations: 69.88 kB / 0.908 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3869, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01852/0.4055, allocations: 15.33 MB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007309/0.4128, allocations: 4.631 MB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007447/0.4136, allocations: 15.88 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.4143, allocations: 159 kB / 1.083 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.416, allocations: 0.5255 MB / 1.084 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.4176, allocations: 0.5185 MB / 1.084 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001372/0.419, allocations: 0.9625 MB / 1.085 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005335/0.4195, allocations: 312.1 kB / 1.085 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007265/0.4203, allocations: 418.2 kB / 1.086 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.4207, allocations: 310.6 kB / 1.086 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.4208, allocations: 24 kB / 1.086 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005242/0.4213, allocations: 219.6 kB / 1.086 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.4214, allocations: 79.61 kB / 1.086 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.4216, allocations: 206.8 kB / 1.087 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007004/0.4223, allocations: 0.5022 MB / 1.087 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4224, allocations: 0 / 1.087 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4224, allocations: 0 / 1.087 GB, free: 6.336 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.4224, allocations: 0 / 1.087 GB, free: 6.336 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.001274/0.4237, allocations: 0.7358 MB / 1.088 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4237, allocations: 8.031 kB / 1.088 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.4238, allocations: 48.38 kB / 1.088 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006115/0.4245, allocations: 398 kB / 1.088 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.4245, allocations: 24.5 kB / 1.088 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.4245, allocations: 24 kB / 1.088 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.4249, allocations: 191.3 kB / 1.088 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4249, allocations: 3.984 kB / 1.088 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.425, allocations: 8 kB / 1.088 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.425, allocations: 4 kB / 1.088 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.4252, allocations: 133.7 kB / 1.089 GB, free: 4.68 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.001576/0.4268, allocations: 0.8829 MB / 1.089 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/0.4273, allocations: 114.6 kB / 1.09 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.4274, allocations: 48.84 kB / 1.09 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000338/0.4277, allocations: 336.4 kB / 1.09 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4278, allocations: 38.56 kB / 1.09 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.4278, allocations: 0 / 1.09 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0003897/0.4282, allocations: 173.1 kB / 1.09 GB, free: 2.922 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.4282, allocations: 51.41 kB / 1.09 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.4288, allocations: 457.8 kB / 1.091 GB, free: 2.398 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.4289, allocations: 29.7 kB / 1.091 GB, free: 2.363 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.4291, allocations: 220.2 kB / 1.091 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.4291, allocations: 39.44 kB / 1.091 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.4292, allocations: 57.59 kB / 1.091 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4294, allocations: 350.8 kB / 1.091 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-05/0.4295, allocations: 43.98 kB / 1.091 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.4297, allocations: 105.1 kB / 1.091 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.4299, allocations: 143.2 kB / 1.092 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4299, allocations: 4.062 kB / 1.092 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000375/0.4303, allocations: 221 kB / 1.092 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4303, allocations: 4 kB / 1.092 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4303, allocations: 0 / 1.092 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.4304, allocations: 4 kB / 1.092 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.4306, allocations: 43.97 kB / 1.092 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.4306, allocations: 4 kB / 1.092 GB, free: 1.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.4309, allocations: 43.61 kB / 1.092 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.692e-05/0.431, allocations: 15.98 kB / 1.092 GB, free: 1.035 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.0001881/0.4312, allocations: 149.8 kB / 1.092 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.4313, allocations: 39.53 kB / 1.092 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.4316, allocations: 198.2 kB / 1.092 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.4316, allocations: 0 / 1.092 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.4317, allocations: 4 kB / 1.092 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4317, allocations: 8.109 kB / 1.092 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008383/0.4325, allocations: 0.6223 MB / 1.093 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4325, allocations: 8.125 kB / 1.093 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.4326, allocations: 19.94 kB / 1.093 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4326, allocations: 4 kB / 1.093 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.4327, allocations: 8.078 kB / 1.093 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4327, allocations: 0 / 1.093 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4327, allocations: 3.938 kB / 1.093 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.433, allocations: 299.7 kB / 1.093 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.4332, allocations: 140.4 kB / 1.093 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.4333, allocations: 4 kB / 1.093 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.4335, allocations: 15.98 kB / 1.093 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.4335, allocations: 15.92 kB / 1.093 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.4336, allocations: 8 kB / 1.093 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004121/0.434, allocations: 327.1 kB / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.434, allocations: 0 / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004356/0.4344, allocations: 99.92 kB / 1.094 GB, free: 14.97 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.0004933/0.4349, allocations: 217.4 kB / 1.094 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.4353, allocations: 143.8 kB / 1.094 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4353, allocations: 0 / 1.094 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.914e-05/0.4354, allocations: 59.91 kB / 1.094 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.4364, allocations: 186.5 kB / 1.094 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.4378, allocations: 0.7752 MB / 1.095 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.4383, allocations: 0.8114 MB / 1.096 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002418/0.4386, allocations: 66.3 kB / 1.096 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.4386, allocations: 31.44 kB / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.4387, allocations: 0 / 1.096 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of Templates: time 0.0143/0.453, allocations: 7.049 MB / 1.103 GB, free: 5.723 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.makefile (rm -f Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & ./Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches