Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 197.9 kB / 16.53 MB, free: 6.672 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.6994, allocations: 140.4 MB / 0.9496 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.04996/0.7494, allocations: 50.73 MB / 0.9991 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.7737, allocations: 16.11 MB / 1.015 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00474/0.7785, allocations: 75.56 kB / 1.015 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003582/0.7822, allocations: 1.066 MB / 1.016 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007427/0.7896, allocations: 2.44 MB / 1.018 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005182/0.7948, allocations: 1.983 MB / 1.02 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007113/0.8019, allocations: 4.429 MB / 1.025 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003072/0.805, allocations: 1.65 MB / 1.026 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00479/0.8099, allocations: 1.806 MB / 1.028 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.8122, allocations: 1.361 MB / 1.029 GB, free: 15.96 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.8126, allocations: 188 kB / 1.029 GB, free: 15.77 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003341/0.8159, allocations: 1.56 MB / 1.031 GB, free: 14.21 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006288/0.8166, allocations: 0.5996 MB / 1.032 GB, free: 13.61 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001231/0.8178, allocations: 1.034 MB / 1.033 GB, free: 12.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005483/0.8233, allocations: 3.373 MB / 1.036 GB, free: 9.188 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.8233, allocations: 4 kB / 1.036 GB, free: 9.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8233, allocations: 0 / 1.036 GB, free: 9.184 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.104e-05/0.8234, allocations: 0 / 1.036 GB, free: 9.184 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004499/0.8279, allocations: 2.392 MB / 1.038 GB, free: 6.73 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.8279, allocations: 8.031 kB / 1.038 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004502/0.8325, allocations: 0.732 MB / 1.039 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00485/0.8373, allocations: 1.871 MB / 1.041 GB, free: 4.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.054e-05/0.8374, allocations: 86.41 kB / 1.041 GB, free: 3.984 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.8377, allocations: 111.9 kB / 1.041 GB, free: 3.875 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.8404, allocations: 1.283 MB / 1.042 GB, free: 2.547 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.8404, allocations: 0 / 1.042 GB, free: 2.547 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.8406, allocations: 44 kB / 1.042 GB, free: 2.504 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.8406, allocations: 45.92 kB / 1.042 GB, free: 2.457 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/0.8433, allocations: 1.038 MB / 1.043 GB, free: 1.418 MB / 0.795 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.0082/0.8515, allocations: 5.951 MB / 1.049 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.8539, allocations: 0.8978 MB / 1.05 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009855/0.8549, allocations: 402.3 kB / 1.05 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003232/0.8582, allocations: 2.192 MB / 1.053 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.8582, allocations: 47.06 kB / 1.053 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=57): time 2.335e-06/0.8582, allocations: 0 / 1.053 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=57): time 0.004176/0.8624, allocations: 1.334 MB / 1.054 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.8625, allocations: 63.95 kB / 1.054 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.8646, allocations: 1.507 MB / 1.055 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.379e-05/0.8647, allocations: 37.7 kB / 1.055 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/0.8653, allocations: 0.7873 MB / 1.056 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.8655, allocations: 201.1 kB / 1.056 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.8658, allocations: 210.4 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.866, allocations: 338 kB / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.8671, allocations: 480.5 kB / 1.057 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.8684, allocations: 0.753 MB / 1.058 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/0.8709, allocations: 1.179 MB / 1.059 GB, free: 120 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8709, allocations: 96 / 1.059 GB, free: 120 kB / 0.8106 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003353/0.8743, allocations: 1.452 MB / 1.061 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.8743, allocations: 8 kB / 1.061 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.8743, allocations: 11.94 kB / 1.061 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005305/0.8748, allocations: 157.3 kB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.8759, allocations: 247.6 kB / 1.061 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005816/0.8765, allocations: 0.6616 MB / 1.062 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.8778, allocations: 126.9 kB / 1.062 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.8779, allocations: 63.97 kB / 1.062 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001636/0.8795, allocations: 0.7283 MB / 1.063 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001204/0.8808, allocations: 0.6983 MB / 1.063 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00201/0.8828, allocations: 1.05 MB / 1.064 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.14e-06/0.8828, allocations: 0 / 1.064 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.003241/0.886, allocations: 1.339 MB / 1.066 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.8861, allocations: 12.62 kB / 1.066 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8861, allocations: 8 kB / 1.066 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009637/0.8871, allocations: 216.7 kB / 1.066 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009186/0.888, allocations: 223.7 kB / 1.066 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/0.8938, allocations: 3.504 MB / 1.07 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.8952, allocations: 107.4 kB / 1.07 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.8953, allocations: 51.98 kB / 1.07 GB, free: 4.957 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (100): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003759/0.8957, allocations: 237.1 kB / 1.07 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.8961, allocations: 165.9 kB / 1.07 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/0.8999, allocations: 1.291 MB / 1.071 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.8999, allocations: 11.94 kB / 1.071 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8999, allocations: 0 / 1.071 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.9, allocations: 3.984 kB / 1.071 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004944/0.9049, allocations: 2.489 MB / 1.074 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.9049, allocations: 7.938 kB / 1.074 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/0.9057, allocations: 140 kB / 1.074 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003459/0.9061, allocations: 104.8 kB / 1.074 GB, free: 436 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/0.9062, allocations: 23.98 kB / 1.074 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004903/0.9067, allocations: 0.6498 MB / 1.075 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9067, allocations: 0 / 1.075 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.9106, allocations: 1.717 MB / 1.076 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005895/0.9112, allocations: 342.7 kB / 1.077 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.9114, allocations: 12 kB / 1.077 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008515/0.9122, allocations: 59.94 kB / 1.077 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.9123, allocations: 44.5 kB / 1.077 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/0.9124, allocations: 35.97 kB / 1.077 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001439/0.9139, allocations: 1.032 MB / 1.078 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9139, allocations: 0 / 1.078 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002299/0.9162, allocations: 0.8888 MB / 1.079 GB, free: 11.55 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * 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 (64): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/0.9174, allocations: 0.5592 MB / 1.079 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004484/0.9219, allocations: 1.837 MB / 1.081 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.9219, allocations: 192 / 1.081 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.9231, allocations: 483.2 kB / 1.081 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/0.9262, allocations: 0.7626 MB / 1.082 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/0.9311, allocations: 2.872 MB / 1.085 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009104/0.932, allocations: 1.364 MB / 1.086 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001693/0.9337, allocations: 421.1 kB / 1.087 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.9341, allocations: 139.4 kB / 1.087 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of SimCode: time 6.31e-07/0.9341, allocations: 0 / 1.087 GB, free: 3.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.0636/0.9977, allocations: 36.29 MB / 1.122 GB, free: 15.22 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches