Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_9_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_9_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.01048/0.01048, allocations: 100.5 kB / 15.73 MB, free: 5.582 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.002031/0.002032, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.231/2.231, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.91 kB / 0.9508 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1195/1.123, allocations: 105 MB / 1.19 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0529/1.176, allocations: 32.94 MB / 1.223 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008517/1.185, allocations: 159.8 kB / 1.223 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.007314/1.192, allocations: 2.012 MB / 1.225 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01813/1.21, allocations: 5.025 MB / 1.23 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01333/1.224, allocations: 3.914 MB / 1.233 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01687/1.241, allocations: 9.562 MB / 1.243 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007123/1.248, allocations: 3.531 MB / 1.246 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/1.258, allocations: 4.009 MB / 1.25 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005914/1.264, allocations: 3.054 MB / 1.253 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001785/1.266, allocations: 416 kB / 1.254 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007551/1.274, allocations: 2.632 MB / 1.256 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002562/1.276, allocations: 1.324 MB / 1.257 GB, free: 188 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005657/1.282, allocations: 2.363 MB / 1.26 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02068/1.303, allocations: 7.448 MB / 1.267 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.303, allocations: 0 / 1.267 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/1.303, allocations: 0 / 1.267 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002869/1.303, allocations: 0 / 1.267 GB, free: 6.34 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01442/1.317, allocations: 5.081 MB / 1.272 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.317, allocations: 8.031 kB / 1.272 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009803/1.327, allocations: 1.521 MB / 1.273 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/1.34, allocations: 4.386 MB / 1.278 GB, free: 11.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/1.341, allocations: 184.1 kB / 1.278 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009309/1.341, allocations: 236 kB / 1.278 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00795/1.349, allocations: 2.839 MB / 1.281 GB, free: 7.785 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.219e-05/1.35, allocations: 0 / 1.281 GB, free: 7.785 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004957/1.35, allocations: 88 kB / 1.281 GB, free: 7.699 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.486e-05/1.35, allocations: 52 kB / 1.281 GB, free: 7.648 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006667/1.357, allocations: 2.147 MB / 1.283 GB, free: 5.5 MB / 1.014 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.02304/1.38, allocations: 12.82 MB / 1.296 GB, free: 7.805 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00494/1.385, allocations: 1.684 MB / 1.297 GB, free: 6.113 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/1.387, allocations: 0.8 MB / 1.298 GB, free: 5.309 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008435/1.396, allocations: 4.074 MB / 1.302 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/1.396, allocations: 47.56 kB / 1.302 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 3.426e-06/1.396, allocations: 0 / 1.302 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.01136/1.407, allocations: 3.287 MB / 1.305 GB, free: 13.47 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/1.407, allocations: 64.41 kB / 1.305 GB, free: 13.4 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006991/1.414, allocations: 3.471 MB / 1.309 GB, free: 9.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005893/1.415, allocations: 61.69 kB / 1.309 GB, free: 9.844 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.00221/1.417, allocations: 1.777 MB / 1.311 GB, free: 8.055 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007764/1.418, allocations: 378.6 kB / 1.311 GB, free: 7.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001231/1.419, allocations: 471 kB / 1.311 GB, free: 7.211 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.419, allocations: 309.1 kB / 1.312 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002826/1.422, allocations: 1.285 MB / 1.313 GB, free: 5.617 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003396/1.425, allocations: 1.956 MB / 1.315 GB, free: 3.352 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00603/1.431, allocations: 3.108 MB / 1.318 GB, free: 15.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/1.431, allocations: 4 kB / 1.318 GB, free: 15.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.008344/1.44, allocations: 3.936 MB / 1.322 GB, free: 12.03 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/1.44, allocations: 12 kB / 1.322 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.221e-05/1.44, allocations: 16 kB / 1.322 GB, free: 12 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/1.442, allocations: 0.7262 MB / 1.322 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/1.444, allocations: 463.2 kB / 1.323 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/1.446, allocations: 2.76 MB / 1.326 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/1.449, allocations: 301.5 kB / 1.326 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/1.449, allocations: 155.9 kB / 1.326 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003725/1.453, allocations: 1.749 MB / 1.328 GB, free: 5.746 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002899/1.456, allocations: 1.769 MB / 1.329 GB, free: 3.668 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005079/1.461, allocations: 2.73 MB / 1.332 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.398e-05/1.461, allocations: 12 kB / 1.332 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.00879/1.47, allocations: 3.619 MB / 1.336 GB, free: 13.03 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.47, allocations: 12.97 kB / 1.336 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/1.47, allocations: 20 kB / 1.336 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002809/1.473, allocations: 0.8582 MB / 1.337 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/1.475, allocations: 435.3 kB / 1.337 GB, free: 11.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/1.494, allocations: 13.82 MB / 1.35 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/1.497, allocations: 226.9 kB / 1.351 GB, free: 12.98 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005583/1.498, allocations: 136 kB / 1.351 GB, free: 12.85 MB / 1.092 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 (203): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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.0009841/1.499, allocations: 297.3 kB / 1.351 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.5, allocations: 363.2 kB / 1.351 GB, free: 12.2 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007878/1.508, allocations: 2.809 MB / 1.354 GB, free: 9.359 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/1.508, allocations: 19.98 kB / 1.354 GB, free: 9.34 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.508, allocations: 0 / 1.354 GB, free: 9.34 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/1.508, allocations: 7.922 kB / 1.354 GB, free: 9.332 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/1.52, allocations: 5.049 MB / 1.359 GB, free: 4.195 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/1.52, allocations: 4.125 kB / 1.359 GB, free: 4.191 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.522, allocations: 279.6 kB / 1.359 GB, free: 3.918 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/1.523, allocations: 395 kB / 1.36 GB, free: 3.52 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/1.523, allocations: 43.95 kB / 1.36 GB, free: 3.477 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/1.525, allocations: 2.627 MB / 1.362 GB, free: 0.7461 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/1.525, allocations: 4.031 kB / 1.362 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006747/1.532, allocations: 2.574 MB / 1.365 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.533, allocations: 0.6208 MB / 1.365 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007477/1.534, allocations: 20 kB / 1.365 GB, free: 13.45 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002626/1.537, allocations: 123.9 kB / 1.366 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002247/1.537, allocations: 81.19 kB / 1.366 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/1.537, allocations: 79.88 kB / 1.366 GB, free: 13.17 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00477/1.542, allocations: 2.322 MB / 1.368 GB, free: 10.84 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.412e-06/1.542, allocations: 0 / 1.368 GB, free: 10.84 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00652/1.548, allocations: 1.804 MB / 1.37 GB, free: 9.039 MB / 1.107 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 (113): * Single equations (assignments): 99 * 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.002121/1.551, allocations: 0.7671 MB / 1.371 GB, free: 8.273 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.562, allocations: 4.732 MB / 1.375 GB, free: 3.496 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.562, allocations: 8.562 kB / 1.375 GB, free: 3.488 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002783/1.565, allocations: 0.9758 MB / 1.376 GB, free: 2.512 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008767/1.574, allocations: 1.749 MB / 1.378 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/1.587, allocations: 6.057 MB / 1.384 GB, free: 10.69 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/1.589, allocations: 2.253 MB / 1.386 GB, free: 8.406 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003582/1.593, allocations: 0.8757 MB / 1.387 GB, free: 7.531 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006872/1.593, allocations: 283.3 kB / 1.387 GB, free: 7.254 MB / 1.123 GB Notification: Performance of SimCode: time 6.41e-07/1.593, allocations: 0 / 1.387 GB, free: 7.254 MB / 1.123 GB Notification: Performance of Templates: time 0.1285/1.722, allocations: 80.64 MB / 1.466 GB, free: 7.73 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches