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.009923/0.009923, allocations: 96.25 kB / 15.73 MB, free: 6.043 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.001379/0.001379, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.834/2.834, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 71.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3168, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.01962/0.3365, allocations: 15.41 MB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007336/0.3438, allocations: 4.687 MB / 1.24 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007436/0.3445, allocations: 15.88 kB / 1.24 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008157/0.3453, allocations: 190.6 kB / 1.24 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.3472, allocations: 0.5985 MB / 1.241 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.3489, allocations: 0.572 MB / 1.242 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.3505, allocations: 0.9664 MB / 1.243 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005613/0.3511, allocations: 271.9 kB / 1.243 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008621/0.3519, allocations: 418.3 kB / 1.243 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.3525, allocations: 302.6 kB / 1.243 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.452e-05/0.3526, allocations: 28 kB / 1.244 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005617/0.3531, allocations: 219.6 kB / 1.244 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.3533, allocations: 87.55 kB / 1.244 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.3536, allocations: 206.8 kB / 1.244 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000928/0.3545, allocations: 0.5057 MB / 1.244 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3545, allocations: 0 / 1.244 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3545, allocations: 0 / 1.244 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.71e-05/0.3545, allocations: 0 / 1.244 GB, free: 5.273 MB / 0.9981 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.001403/0.3559, allocations: 0.7471 MB / 1.245 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.356, allocations: 12.03 kB / 1.245 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.3561, allocations: 48.61 kB / 1.245 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.3569, allocations: 418.3 kB / 1.246 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.3569, allocations: 20.56 kB / 1.246 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.357, allocations: 28 kB / 1.246 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/0.3573, allocations: 191.3 kB / 1.246 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3574, allocations: 0 / 1.246 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3574, allocations: 8 kB / 1.246 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3574, allocations: 12 kB / 1.246 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.3576, allocations: 129.7 kB / 1.246 GB, free: 3.582 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.001546/0.3592, allocations: 0.8754 MB / 1.247 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.3596, allocations: 114.6 kB / 1.247 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.3597, allocations: 48.83 kB / 1.247 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003079/0.3601, allocations: 336.4 kB / 1.247 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3601, allocations: 34.56 kB / 1.247 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.3601, allocations: 0 / 1.247 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004402/0.3605, allocations: 185.2 kB / 1.248 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3606, allocations: 51.41 kB / 1.248 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.3611, allocations: 457.9 kB / 1.248 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3612, allocations: 29.7 kB / 1.248 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.3613, allocations: 224.4 kB / 1.248 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.3614, allocations: 39.62 kB / 1.248 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.717e-05/0.3615, allocations: 53.66 kB / 1.248 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3617, allocations: 354.8 kB / 1.249 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3618, allocations: 43.98 kB / 1.249 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3619, allocations: 107.3 kB / 1.249 GB, free: 444 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.3622, allocations: 139.3 kB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3622, allocations: 0 / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003819/0.3625, allocations: 225.2 kB / 1.249 GB, free: 60 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3626, allocations: 4 kB / 1.249 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3626, allocations: 0 / 1.249 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3626, allocations: 4 kB / 1.249 GB, free: 52 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.3628, allocations: 39.98 kB / 1.249 GB, free: 12 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.3628, allocations: 7.922 kB / 1.249 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6796/1.042, allocations: 35.92 kB / 1.249 GB, free: 31.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/1.042, allocations: 9.047 kB / 1.249 GB, free: 31.82 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.0001901/1.043, allocations: 154 kB / 1.249 GB, free: 31.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/1.043, allocations: 40.42 kB / 1.25 GB, free: 31.71 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/1.043, allocations: 195.2 kB / 1.25 GB, free: 31.66 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.043, allocations: 2.281 kB / 1.25 GB, free: 31.66 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.043, allocations: 5.125 kB / 1.25 GB, free: 31.66 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.043, allocations: 2.406 kB / 1.25 GB, free: 31.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008299/1.044, allocations: 0.6255 MB / 1.25 GB, free: 31.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.044, allocations: 5.594 kB / 1.25 GB, free: 31.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/1.044, allocations: 29.12 kB / 1.25 GB, free: 31.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/1.044, allocations: 2.672 kB / 1.25 GB, free: 31.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/1.044, allocations: 2.406 kB / 1.25 GB, free: 31.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.044, allocations: 5.031 kB / 1.25 GB, free: 31.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.044, allocations: 3.812 kB / 1.25 GB, free: 31.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/1.044, allocations: 306 kB / 1.251 GB, free: 31.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/1.045, allocations: 133.2 kB / 1.251 GB, free: 31.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/1.045, allocations: 2.641 kB / 1.251 GB, free: 31.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/1.045, allocations: 15.5 kB / 1.251 GB, free: 31.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/1.045, allocations: 14.88 kB / 1.251 GB, free: 31.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/1.045, allocations: 13.92 kB / 1.251 GB, free: 31.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004089/1.045, allocations: 320.6 kB / 1.251 GB, free: 30.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.045, allocations: 0 / 1.251 GB, free: 30.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004651/1.046, allocations: 109.7 kB / 1.251 GB, free: 30.98 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.0004524/1.046, allocations: 211.9 kB / 1.251 GB, free: 30.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003012/1.046, allocations: 131.6 kB / 1.252 GB, free: 30.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.046, allocations: 0.7188 kB / 1.252 GB, free: 30.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/1.047, allocations: 62.8 kB / 1.252 GB, free: 30.89 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009077/1.048, allocations: 181.8 kB / 1.252 GB, free: 30.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/1.049, allocations: 0.665 MB / 1.252 GB, free: 30.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/1.049, allocations: 0.8068 MB / 1.253 GB, free: 29.85 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002077/1.049, allocations: 72.34 kB / 1.253 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/1.049, allocations: 35.67 kB / 1.253 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.049, allocations: 0 / 1.253 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.01266/1.062, allocations: 7.135 MB / 1.26 GB, free: 29.34 MB / 0.9981 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=480 -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