Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001552/0.001552, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.001605/0.001606, allocations: 187 kB / 17.34 MB, free: 5.742 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8129/0.8144, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1126/0.927, allocations: 106.4 MB / 1.312 GB, free: 2.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0572/0.9843, allocations: 35.45 MB / 1.347 GB, free: 15.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008102/0.9924, allocations: 163.1 kB / 1.347 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.009879/1.002, allocations: 2.91 MB / 1.35 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01719/1.02, allocations: 5.575 MB / 1.355 GB, free: 6.598 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.01175/1.031, allocations: 4.125 MB / 1.359 GB, free: 2.492 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.04601/1.077, allocations: 32.39 MB / 1.391 GB, free: 2.055 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00796/1.085, allocations: 3.696 MB / 1.395 GB, free: 14.29 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01186/1.097, allocations: 4.409 MB / 1.399 GB, free: 9.879 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00708/1.104, allocations: 3.457 MB / 1.402 GB, free: 6.41 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002398/1.107, allocations: 483.9 kB / 1.403 GB, free: 5.938 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008367/1.115, allocations: 3.007 MB / 1.406 GB, free: 2.926 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00339/1.119, allocations: 1.963 MB / 1.408 GB, free: 0.957 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.007067/1.126, allocations: 3.094 MB / 1.411 GB, free: 13.84 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0176/1.143, allocations: 9.466 MB / 1.42 GB, free: 4.352 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/1.144, allocations: 0 / 1.42 GB, free: 4.352 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.084e-06/1.144, allocations: 0 / 1.42 GB, free: 4.352 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003257/1.144, allocations: 0 / 1.42 GB, free: 4.352 MB / 1.139 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.01756/1.161, allocations: 6.476 MB / 1.426 GB, free: 13.75 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.162, allocations: 12.03 kB / 1.426 GB, free: 13.74 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/1.173, allocations: 1.916 MB / 1.428 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02027/1.193, allocations: 7.598 MB / 1.436 GB, free: 4.125 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/1.194, allocations: 196.3 kB / 1.436 GB, free: 3.93 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001072/1.195, allocations: 248 kB / 1.436 GB, free: 3.688 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008182/1.203, allocations: 3.4 MB / 1.439 GB, free: 148 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/1.203, allocations: 7.938 kB / 1.439 GB, free: 140 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/1.204, allocations: 88 kB / 1.439 GB, free: 52 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/1.204, allocations: 52 kB / 1.439 GB, free: 0 / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006434/1.21, allocations: 2.565 MB / 1.442 GB, free: 13.42 MB / 1.17 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.02472/1.235, allocations: 15.26 MB / 1.457 GB, free: 13.26 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005923/1.241, allocations: 2.409 MB / 1.459 GB, free: 10.84 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002525/1.243, allocations: 1.046 MB / 1.46 GB, free: 9.789 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009546/1.253, allocations: 5.439 MB / 1.466 GB, free: 4.023 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/1.253, allocations: 43.56 kB / 1.466 GB, free: 3.973 MB / 1.186 GB Notification: Performance of pre-optimization done (n=115): time 3.617e-06/1.253, allocations: 0 / 1.466 GB, free: 3.973 MB / 1.186 GB Notification: Performance of matching and sorting (n=115): time 0.0126/1.266, allocations: 4.218 MB / 1.47 GB, free: 15.65 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/1.266, allocations: 64.41 kB / 1.47 GB, free: 15.57 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0095/1.275, allocations: 5.74 MB / 1.475 GB, free: 9.836 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0006517/1.276, allocations: 65.64 kB / 1.475 GB, free: 9.766 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002262/1.278, allocations: 2.283 MB / 1.478 GB, free: 7.465 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007621/1.279, allocations: 418.2 kB / 1.478 GB, free: 7.051 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/1.28, allocations: 0.9075 MB / 1.479 GB, free: 6.137 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.28, allocations: 305.1 kB / 1.479 GB, free: 5.836 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004597/1.285, allocations: 2.907 MB / 1.482 GB, free: 2.922 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005474/1.291, allocations: 3.785 MB / 1.486 GB, free: 14.8 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009793/1.3, allocations: 6.166 MB / 1.492 GB, free: 8.367 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/1.3, allocations: 4 kB / 1.492 GB, free: 8.363 MB / 1.217 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01386/1.314, allocations: 7.806 MB / 1.499 GB, free: 0.5117 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/1.314, allocations: 21.7 kB / 1.499 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/1.314, allocations: 16 kB / 1.499 GB, free: 488 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/1.317, allocations: 0.9715 MB / 1.5 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/1.32, allocations: 0.6748 MB / 1.501 GB, free: 14.82 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/1.322, allocations: 2.967 MB / 1.504 GB, free: 11.75 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/1.327, allocations: 464.8 kB / 1.504 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007522/1.328, allocations: 223.9 kB / 1.505 GB, free: 11.07 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00679/1.335, allocations: 3.525 MB / 1.508 GB, free: 7.539 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005229/1.34, allocations: 3.301 MB / 1.511 GB, free: 3.898 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00851/1.349, allocations: 5.231 MB / 1.516 GB, free: 14.4 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.17e-05/1.349, allocations: 7.984 kB / 1.516 GB, free: 14.39 MB / 1.248 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.0138/1.362, allocations: 6.922 MB / 1.523 GB, free: 7.434 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.362, allocations: 12 kB / 1.523 GB, free: 7.422 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/1.363, allocations: 23.94 kB / 1.523 GB, free: 7.398 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003057/1.366, allocations: 1.081 MB / 1.524 GB, free: 6.305 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002842/1.368, allocations: 0.6474 MB / 1.525 GB, free: 5.656 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02131/1.39, allocations: 16.54 MB / 1.541 GB, free: 4.441 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005358/1.395, allocations: 378.3 kB / 1.541 GB, free: 4.07 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008559/1.396, allocations: 187.9 kB / 1.542 GB, free: 3.887 MB / 1.264 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.001254/1.397, allocations: 335.4 kB / 1.542 GB, free: 3.551 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001704/1.399, allocations: 0.4895 MB / 1.542 GB, free: 3.055 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009367/1.408, allocations: 3.53 MB / 1.546 GB, free: 15.5 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.371e-05/1.408, allocations: 19.98 kB / 1.546 GB, free: 15.48 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.409, allocations: 7.938 kB / 1.546 GB, free: 15.47 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/1.409, allocations: 7.969 kB / 1.546 GB, free: 15.46 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/1.425, allocations: 6.53 MB / 1.552 GB, free: 8.844 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.425, allocations: 0 / 1.552 GB, free: 8.844 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.427, allocations: 315.6 kB / 1.553 GB, free: 8.535 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/1.428, allocations: 451 kB / 1.553 GB, free: 8.082 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/1.428, allocations: 55.88 kB / 1.553 GB, free: 8.027 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/1.43, allocations: 2.803 MB / 1.556 GB, free: 5.121 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.43, allocations: 4.5 kB / 1.556 GB, free: 5.117 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008212/1.439, allocations: 3.268 MB / 1.559 GB, free: 1.801 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002836/1.441, allocations: 0.8258 MB / 1.56 GB, free: 0.9492 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001716/1.443, allocations: 20 kB / 1.56 GB, free: 0.9297 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003494/1.447, allocations: 163.8 kB / 1.56 GB, free: 0.7695 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/1.447, allocations: 93.12 kB / 1.56 GB, free: 0.6758 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000228/1.447, allocations: 95.92 kB / 1.56 GB, free: 0.582 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.7756/2.223, allocations: 3.796 MB / 1.564 GB, free: 333.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.51e-07/2.223, allocations: 0 / 1.564 GB, free: 333.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.009411/2.232, allocations: 2.399 MB / 1.566 GB, free: 333.7 MB / 1.279 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.002356/2.235, allocations: 0.9342 MB / 1.567 GB, free: 333.5 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01604/2.251, allocations: 8.395 MB / 1.575 GB, free: 330.4 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/2.251, allocations: 0 / 1.575 GB, free: 330.4 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003121/2.254, allocations: 1.217 MB / 1.576 GB, free: 330.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01183/2.266, allocations: 2.537 MB / 1.579 GB, free: 329.5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/2.282, allocations: 8.822 MB / 1.588 GB, free: 325.4 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002696/2.285, allocations: 2.915 MB / 1.59 GB, free: 324.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/2.287, allocations: 413.9 kB / 1.591 GB, free: 324.3 MB / 1.279 GB Notification: Performance of SimCode: time 9.22e-07/2.287, allocations: 0 / 1.591 GB, free: 324.3 MB / 1.279 GB Notification: Performance of Templates: time 0.1585/2.445, allocations: 178.1 MB / 1.765 GB, free: 151.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches