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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000992/0.0009921, allocations: 91.92 kB / 16.02 MB, free: 80 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.001334/0.001335, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003964, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7078/0.7082, allocations: 142.4 MB / 0.9557 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05217/0.7605, allocations: 49.4 MB / 1.004 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02641/0.7869, allocations: 15.99 MB / 1.02 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003589/0.7906, allocations: 59.62 kB / 1.02 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.7941, allocations: 0.9075 MB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007344/0.8015, allocations: 2.244 MB / 1.023 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005318/0.8068, allocations: 1.796 MB / 1.024 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008423/0.8152, allocations: 5.825 MB / 1.03 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003142/0.8184, allocations: 1.381 MB / 1.031 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004008/0.8224, allocations: 1.497 MB / 1.033 GB, free: 32 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.8251, allocations: 1.307 MB / 1.034 GB, free: 14.72 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006227/0.8258, allocations: 72 kB / 1.034 GB, free: 14.65 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.8296, allocations: 1.431 MB / 1.036 GB, free: 13.21 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009567/0.8306, allocations: 498 kB / 1.036 GB, free: 12.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002014/0.8327, allocations: 0.934 MB / 1.037 GB, free: 11.78 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.8369, allocations: 2.537 MB / 1.04 GB, free: 9.238 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8369, allocations: 4 kB / 1.04 GB, free: 9.234 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8369, allocations: 0 / 1.04 GB, free: 9.234 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.612e-05/0.837, allocations: 0 / 1.04 GB, free: 9.234 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.004873/0.8419, allocations: 2.042 MB / 1.042 GB, free: 7.133 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.842, allocations: 8.031 kB / 1.042 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/0.8466, allocations: 0.7945 MB / 1.042 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00543/0.8521, allocations: 1.929 MB / 1.044 GB, free: 4.352 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.8522, allocations: 90.39 kB / 1.044 GB, free: 4.262 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.8526, allocations: 108 kB / 1.044 GB, free: 4.156 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/0.856, allocations: 1.289 MB / 1.046 GB, free: 2.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.856, allocations: 7.938 kB / 1.046 GB, free: 2.82 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.8562, allocations: 40 kB / 1.046 GB, free: 2.781 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.995e-05/0.8562, allocations: 37.98 kB / 1.046 GB, free: 2.742 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/0.8593, allocations: 1.062 MB / 1.047 GB, free: 1.68 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.009666/0.869, allocations: 5.772 MB / 1.052 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.8716, allocations: 0.9253 MB / 1.053 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.8727, allocations: 424.5 kB / 1.054 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003558/0.8763, allocations: 2.235 MB / 1.056 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.8763, allocations: 43.11 kB / 1.056 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006545/0.877, allocations: 107.3 kB / 1.056 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=59): time 3.717e-06/0.877, allocations: 0 / 1.056 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59): time 0.004202/0.8812, allocations: 1.404 MB / 1.057 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.8813, allocations: 55.97 kB / 1.057 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.8839, allocations: 1.488 MB / 1.059 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.884, allocations: 41.7 kB / 1.059 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006878/0.8847, allocations: 0.7796 MB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.8849, allocations: 213 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.885, allocations: 85.67 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8852, allocations: 341.9 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.8864, allocations: 473.7 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.8878, allocations: 0.7843 MB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/0.8903, allocations: 1.211 MB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.8903, allocations: 0 / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003401/0.8937, allocations: 1.48 MB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.894, allocations: 334 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.894, allocations: 11.94 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005659/0.8946, allocations: 152.8 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.8957, allocations: 247.6 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000645/0.8963, allocations: 0.6694 MB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.8977, allocations: 95.92 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.8978, allocations: 59.97 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/0.8978, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003056/0.9009, allocations: 1.207 MB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.9009, allocations: 8 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009559/0.9019, allocations: 224.8 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009561/0.9029, allocations: 231.6 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006062/0.9089, allocations: 3.215 MB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.9104, allocations: 107.9 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.9106, allocations: 55.97 kB / 1.071 GB, free: 7.953 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 (102): * Single equations (assignments): 99 * 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.0009866/0.9116, allocations: 486.2 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004027/0.912, allocations: 161.9 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00367/0.9156, allocations: 1.322 MB / 1.073 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.9157, allocations: 8 kB / 1.073 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.9157, allocations: 4 kB / 1.073 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.9157, allocations: 7.984 kB / 1.073 GB, free: 5.957 MB / 0.8262 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 postOpt removeSimpleEquations (simulation): time 0.005744/0.9215, allocations: 2.542 MB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.9215, allocations: 7.984 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008233/0.9223, allocations: 144 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003738/0.9227, allocations: 104.7 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/0.9228, allocations: 31.97 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005236/0.9233, allocations: 0.646 MB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9233, allocations: 0 / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004176/0.9275, allocations: 1.738 MB / 1.078 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/0.9283, allocations: 338.8 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003534/0.9287, allocations: 23.92 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.9299, allocations: 91.92 kB / 1.078 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.93, allocations: 44.48 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.32e-05/0.9301, allocations: 39.97 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001989/0.9321, allocations: 0.9965 MB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9321, allocations: 3.938 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00328/0.9354, allocations: 0.9082 MB / 1.08 GB, free: 14.16 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 (66): * Single equations (assignments): 59 * 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.001568/0.937, allocations: 0.5264 MB / 1.081 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004726/0.9417, allocations: 1.822 MB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.9418, allocations: 0 / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.9431, allocations: 488.1 kB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004234/0.9473, allocations: 0.7223 MB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006505/0.9539, allocations: 3.588 MB / 1.087 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/0.9552, allocations: 1.36 MB / 1.088 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/0.9559, allocations: 147.3 kB / 1.088 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of SimCode: time 7.52e-07/0.9559, allocations: 0 / 1.088 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of Templates: time 0.05741/1.013, allocations: 37.6 MB / 1.125 GB, free: 60 kB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches