Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008591/0.008591, allocations: 98.89 kB / 15.73 MB, free: 6.039 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.002504/0.002504, allocations: 195.2 kB / 16.68 MB, free: 5.961 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 / 240.4 MB, free: 4.316 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.848/2.848, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3571, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.7884/1.145, allocations: 106.6 MB / 1.325 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.05687/1.202, allocations: 35.52 MB / 1.359 GB, free: 6.121 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008665/1.211, allocations: 161.7 kB / 1.36 GB, free: 6.066 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009162/1.22, allocations: 2.971 MB / 1.362 GB, free: 4.562 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01684/1.237, allocations: 5.809 MB / 1.368 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01101/1.248, allocations: 4.141 MB / 1.372 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.04829/1.296, allocations: 32.54 MB / 1.404 GB, free: 9.727 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006331/1.303, allocations: 3.11 MB / 1.407 GB, free: 6.547 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/1.314, allocations: 4.434 MB / 1.411 GB, free: 2.109 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007242/1.321, allocations: 3.448 MB / 1.415 GB, free: 14.65 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.00198/1.323, allocations: 488 kB / 1.415 GB, free: 14.17 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/1.333, allocations: 3.003 MB / 1.418 GB, free: 11.16 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00479/1.338, allocations: 2.005 MB / 1.42 GB, free: 9.152 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.007562/1.345, allocations: 3.102 MB / 1.423 GB, free: 6.035 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02128/1.367, allocations: 9.508 MB / 1.432 GB, free: 12.49 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.367, allocations: 0 / 1.432 GB, free: 12.49 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.663e-06/1.367, allocations: 0 / 1.432 GB, free: 12.49 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003854/1.367, allocations: 7.938 kB / 1.432 GB, free: 12.48 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01874/1.386, allocations: 6.693 MB / 1.439 GB, free: 5.668 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.386, allocations: 8.031 kB / 1.439 GB, free: 5.66 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01259/1.398, allocations: 1.943 MB / 1.441 GB, free: 3.711 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02072/1.419, allocations: 7.67 MB / 1.448 GB, free: 11.95 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/1.419, allocations: 188.3 kB / 1.449 GB, free: 11.77 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/1.421, allocations: 248 kB / 1.449 GB, free: 11.52 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/1.431, allocations: 3.4 MB / 1.452 GB, free: 7.98 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.217e-05/1.431, allocations: 7.938 kB / 1.452 GB, free: 7.973 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005866/1.432, allocations: 88 kB / 1.452 GB, free: 7.887 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/1.432, allocations: 56 kB / 1.452 GB, free: 7.832 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008419/1.44, allocations: 2.565 MB / 1.455 GB, free: 5.25 MB / 1.139 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.03627/1.476, allocations: 15.28 MB / 1.47 GB, free: 5.066 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007149/1.483, allocations: 2.32 MB / 1.472 GB, free: 2.738 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/1.486, allocations: 0.9922 MB / 1.473 GB, free: 1.742 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01251/1.499, allocations: 5.443 MB / 1.478 GB, free: 11.97 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/1.499, allocations: 51.5 kB / 1.478 GB, free: 11.91 MB / 1.17 GB Notification: Performance of pre-optimization done (n=115): time 2.975e-06/1.499, allocations: 0 / 1.478 GB, free: 11.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=115): time 0.01445/1.513, allocations: 4.241 MB / 1.482 GB, free: 7.582 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/1.514, allocations: 60.41 kB / 1.482 GB, free: 7.508 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/1.526, allocations: 5.74 MB / 1.488 GB, free: 1.77 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0006244/1.527, allocations: 65.7 kB / 1.488 GB, free: 1.699 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002983/1.529, allocations: 2.305 MB / 1.49 GB, free: 15.38 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008661/1.53, allocations: 448.4 kB / 1.491 GB, free: 14.93 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002833/1.533, allocations: 0.9079 MB / 1.492 GB, free: 14.02 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.533, allocations: 305.1 kB / 1.492 GB, free: 13.72 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005298/1.539, allocations: 2.899 MB / 1.495 GB, free: 10.81 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006465/1.545, allocations: 3.793 MB / 1.499 GB, free: 6.688 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/1.557, allocations: 6.162 MB / 1.505 GB, free: 260 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.333e-05/1.557, allocations: 8 kB / 1.505 GB, free: 252 kB / 1.186 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.0176/1.575, allocations: 7.82 MB / 1.512 GB, free: 8.383 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/1.575, allocations: 14.03 kB / 1.512 GB, free: 8.371 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-05/1.575, allocations: 20 kB / 1.512 GB, free: 8.352 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/1.577, allocations: 0.9758 MB / 1.513 GB, free: 7.363 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/1.581, allocations: 0.6825 MB / 1.514 GB, free: 6.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0028/1.583, allocations: 2.959 MB / 1.517 GB, free: 3.617 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005035/1.588, allocations: 481.2 kB / 1.517 GB, free: 3.145 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007147/1.589, allocations: 235.9 kB / 1.517 GB, free: 2.914 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007148/1.596, allocations: 3.513 MB / 1.521 GB, free: 15.39 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005482/1.602, allocations: 3.305 MB / 1.524 GB, free: 11.75 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0092/1.611, allocations: 5.228 MB / 1.529 GB, free: 6.258 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-05/1.611, allocations: 4 kB / 1.529 GB, free: 6.254 MB / 1.217 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01583/1.627, allocations: 6.94 MB / 1.536 GB, free: 15.28 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/1.627, allocations: 12 kB / 1.536 GB, free: 15.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-05/1.627, allocations: 20.91 kB / 1.536 GB, free: 15.25 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/1.63, allocations: 1.092 MB / 1.537 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003226/1.634, allocations: 0.6435 MB / 1.538 GB, free: 13.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/1.657, allocations: 16.55 MB / 1.554 GB, free: 12.27 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005377/1.662, allocations: 386.8 kB / 1.554 GB, free: 11.89 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008736/1.663, allocations: 187.9 kB / 1.554 GB, free: 11.7 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001332/1.664, allocations: 336.9 kB / 1.555 GB, free: 11.37 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.666, allocations: 0.5082 MB / 1.555 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/1.676, allocations: 3.523 MB / 1.559 GB, free: 7.312 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/1.676, allocations: 16 kB / 1.559 GB, free: 7.297 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.676, allocations: 3.938 kB / 1.559 GB, free: 7.293 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/1.676, allocations: 11.91 kB / 1.559 GB, free: 7.281 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/1.694, allocations: 6.53 MB / 1.565 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.694, allocations: 0 / 1.565 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/1.696, allocations: 311.7 kB / 1.565 GB, free: 368 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/1.697, allocations: 454.9 kB / 1.566 GB, free: 15.9 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/1.698, allocations: 55.94 kB / 1.566 GB, free: 15.85 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/1.7, allocations: 2.815 MB / 1.569 GB, free: 12.93 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.7, allocations: 0 / 1.569 GB, free: 12.93 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008713/1.709, allocations: 3.283 MB / 1.572 GB, free: 9.598 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002814/1.712, allocations: 0.8484 MB / 1.573 GB, free: 8.727 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00168/1.713, allocations: 20 kB / 1.573 GB, free: 8.707 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003731/1.717, allocations: 163.9 kB / 1.573 GB, free: 8.547 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/1.717, allocations: 105 kB / 1.573 GB, free: 8.441 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/1.718, allocations: 99.92 kB / 1.573 GB, free: 8.344 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.009006/1.727, allocations: 3.794 MB / 1.577 GB, free: 4.559 MB / 1.264 GB Notification: Performance of sort global known variables: time 2.1e-07/1.727, allocations: 4 kB / 1.577 GB, free: 4.555 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.01125/1.738, allocations: 2.41 MB / 1.579 GB, free: 2.141 MB / 1.264 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 (121): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002918/1.741, allocations: 0.9435 MB / 1.58 GB, free: 1.195 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01802/1.759, allocations: 7.817 MB / 1.588 GB, free: 9.332 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.759, allocations: 0 / 1.588 GB, free: 9.332 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003572/1.762, allocations: 1.153 MB / 1.589 GB, free: 8.18 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0122/1.775, allocations: 2.541 MB / 1.591 GB, free: 5.703 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/1.792, allocations: 8.81 MB / 1.6 GB, free: 12.84 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00372/1.796, allocations: 2.957 MB / 1.603 GB, free: 9.848 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005658/1.802, allocations: 1.395 MB / 1.604 GB, free: 8.453 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.803, allocations: 395.2 kB / 1.604 GB, free: 8.066 MB / 1.295 GB Notification: Performance of SimCode: time 9.12e-07/1.803, allocations: 0 / 1.604 GB, free: 8.066 MB / 1.295 GB Notification: Performance of Templates: time 0.1822/1.985, allocations: 111.4 MB / 1.713 GB, free: 9.918 MB / 1.404 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches