Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009978/0.009978, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.002132/0.002132, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3518, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05214/0.404, allocations: 51.52 MB / 1.217 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02954/0.4336, allocations: 18.15 MB / 1.235 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00356/0.4372, allocations: 75.62 kB / 1.235 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005722/0.443, allocations: 1.921 MB / 1.237 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007701/0.4507, allocations: 2.819 MB / 1.239 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005068/0.4558, allocations: 2.111 MB / 1.241 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.7713/1.227, allocations: 14.07 MB / 1.255 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003678/1.231, allocations: 1.731 MB / 1.257 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005804/1.237, allocations: 1.98 MB / 1.259 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/1.24, allocations: 1.515 MB / 1.26 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008754/1.241, allocations: 214.5 kB / 1.26 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005776/1.247, allocations: 1.903 MB / 1.262 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001573/1.249, allocations: 0.8885 MB / 1.263 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002403/1.251, allocations: 1.388 MB / 1.265 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009853/1.261, allocations: 4.465 MB / 1.269 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/1.261, allocations: 5.656 kB / 1.269 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.286e-06/1.261, allocations: 0.6094 kB / 1.269 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001243/1.261, allocations: 0 / 1.269 GB, free: 12.48 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.009295/1.27, allocations: 3.263 MB / 1.272 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.27, allocations: 8.969 kB / 1.272 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005847/1.276, allocations: 0.9424 MB / 1.273 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009799/1.286, allocations: 3.532 MB / 1.276 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/1.286, allocations: 88.91 kB / 1.277 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004847/1.287, allocations: 115.2 kB / 1.277 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/1.29, allocations: 1.487 MB / 1.278 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/1.29, allocations: 4.406 kB / 1.278 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/1.291, allocations: 40.5 kB / 1.278 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.593e-05/1.291, allocations: 38.23 kB / 1.278 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/1.294, allocations: 1.32 MB / 1.279 GB, free: 9.691 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.01205/1.306, allocations: 6.954 MB / 1.286 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/1.309, allocations: 1.14 MB / 1.287 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/1.311, allocations: 499.9 kB / 1.288 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00568/1.316, allocations: 2.732 MB / 1.291 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/1.316, allocations: 38.31 kB / 1.291 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 2.785e-06/1.316, allocations: 0 / 1.291 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.005789/1.322, allocations: 1.744 MB / 1.292 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/1.322, allocations: 57.94 kB / 1.292 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004943/1.327, allocations: 2.589 MB / 1.295 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002699/1.328, allocations: 44.55 kB / 1.295 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000893/1.328, allocations: 1.032 MB / 1.296 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/1.329, allocations: 232.5 kB / 1.296 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007233/1.329, allocations: 441.5 kB / 1.297 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.123e-05/1.33, allocations: 301.9 kB / 1.297 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/1.332, allocations: 1.145 MB / 1.298 GB, free: 3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/1.334, allocations: 1.538 MB / 1.299 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00412/1.338, allocations: 2.463 MB / 1.302 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.338, allocations: 2.344 kB / 1.302 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.006211/1.344, allocations: 3.082 MB / 1.305 GB, free: 15.95 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/1.344, allocations: 13.08 kB / 1.305 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/1.344, allocations: 8.219 kB / 1.305 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005443/1.345, allocations: 150.3 kB / 1.305 GB, free: 15.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.346, allocations: 363.7 kB / 1.305 GB, free: 15.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006791/1.347, allocations: 0.6668 MB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/1.35, allocations: 225.6 kB / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002251/1.35, allocations: 94.89 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003403/1.353, allocations: 1.504 MB / 1.308 GB, free: 14.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002231/1.356, allocations: 1.354 MB / 1.309 GB, free: 13.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003694/1.359, allocations: 2.093 MB / 1.311 GB, free: 12.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.639e-06/1.359, allocations: 6.188 kB / 1.311 GB, free: 12.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005742/1.365, allocations: 2.706 MB / 1.314 GB, free: 11.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.365, allocations: 9.469 kB / 1.314 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.365, allocations: 8.781 kB / 1.314 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009024/1.366, allocations: 216.4 kB / 1.314 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.367, allocations: 346.3 kB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/1.373, allocations: 3.508 MB / 1.318 GB, free: 9.254 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002619/1.376, allocations: 179.3 kB / 1.318 GB, free: 9.172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/1.376, allocations: 80.2 kB / 1.318 GB, free: 9.16 MB / 1.014 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 (167): * Single equations (assignments): 162 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0005563/1.377, allocations: 261.6 kB / 1.318 GB, free: 8.941 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005785/1.377, allocations: 236.6 kB / 1.319 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/1.381, allocations: 1.574 MB / 1.32 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/1.381, allocations: 14.33 kB / 1.32 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/1.381, allocations: 0 / 1.32 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.381, allocations: 6.844 kB / 1.32 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006639/1.388, allocations: 3.094 MB / 1.323 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/1.388, allocations: 2.188 kB / 1.323 GB, free: 6.941 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00092/1.389, allocations: 164.2 kB / 1.323 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000335/1.389, allocations: 106.3 kB / 1.323 GB, free: 6.906 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.292e-05/1.39, allocations: 38.94 kB / 1.323 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004929/1.39, allocations: 0.6382 MB / 1.324 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.39, allocations: 2.281 kB / 1.324 GB, free: 6.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004924/1.395, allocations: 2.157 MB / 1.326 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.397, allocations: 449.4 kB / 1.327 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/1.397, allocations: 12.69 kB / 1.327 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.398, allocations: 78.19 kB / 1.327 GB, free: 5.062 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.398, allocations: 48.31 kB / 1.327 GB, free: 5.055 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.46e-05/1.398, allocations: 44.09 kB / 1.327 GB, free: 5.051 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002829/1.401, allocations: 1.723 MB / 1.328 GB, free: 4.395 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.401, allocations: 0 / 1.328 GB, free: 4.395 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004145/1.405, allocations: 1.217 MB / 1.33 GB, free: 4.156 MB / 1.014 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 (67): * Single equations (assignments): 60 * 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.001955/1.407, allocations: 0.73 MB / 1.33 GB, free: 3.926 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006853/1.414, allocations: 3.494 MB / 1.334 GB, free: 2.676 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.414, allocations: 0 / 1.334 GB, free: 2.676 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/1.415, allocations: 0.5755 MB / 1.334 GB, free: 2.52 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005453/1.421, allocations: 1.164 MB / 1.335 GB, free: 2.141 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007704/1.429, allocations: 4.145 MB / 1.339 GB, free: 112 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/1.43, allocations: 1.713 MB / 1.341 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003114/1.433, allocations: 0.6671 MB / 1.342 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006081/1.434, allocations: 190 kB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of SimCode: time 8.71e-07/1.434, allocations: 3.375 kB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of Templates: time 0.09267/1.527, allocations: 52.27 MB / 1.393 GB, free: 11.44 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches