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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001547/0.001547, allocations: 105.9 kB / 16.36 MB, free: 6.289 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.001785/0.001786, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 64.41 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.6771/1.004, allocations: 106.5 MB / 1.131 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.05818/1.062, allocations: 35.43 MB / 1.165 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01043/1.073, allocations: 163.1 kB / 1.165 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.03442/1.107, allocations: 18.58 MB / 1.184 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01848/1.126, allocations: 5.383 MB / 1.189 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01219/1.138, allocations: 4.116 MB / 1.193 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0489/1.187, allocations: 31.92 MB / 1.224 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007916/1.195, allocations: 3.567 MB / 1.228 GB, free: 184 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/1.207, allocations: 4.197 MB / 1.232 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006561/1.214, allocations: 3.344 MB / 1.235 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001754/1.216, allocations: 448 kB / 1.235 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008355/1.224, allocations: 2.976 MB / 1.238 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002693/1.227, allocations: 1.908 MB / 1.24 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005628/1.232, allocations: 3.059 MB / 1.243 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01652/1.249, allocations: 9.283 MB / 1.252 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/1.249, allocations: 0 / 1.252 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.008e-06/1.249, allocations: 4 kB / 1.252 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0003055/1.249, allocations: 0 / 1.252 GB, free: 6.902 MB / 0.9512 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.0174/1.267, allocations: 6.397 MB / 1.258 GB, free: 396 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/1.267, allocations: 15.92 kB / 1.258 GB, free: 380 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/1.278, allocations: 1.905 MB / 1.26 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01843/1.297, allocations: 7.388 MB / 1.267 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/1.297, allocations: 188.3 kB / 1.268 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009476/1.298, allocations: 252 kB / 1.268 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007049/1.305, allocations: 3.403 MB / 1.271 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/1.305, allocations: 7.938 kB / 1.271 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/1.305, allocations: 88 kB / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/1.305, allocations: 52 kB / 1.271 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006552/1.312, allocations: 2.569 MB / 1.274 GB, free: 272 kB / 0.9669 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.02796/1.34, allocations: 15.22 MB / 1.289 GB, free: 136 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006037/1.346, allocations: 2.421 MB / 1.291 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002406/1.348, allocations: 1.044 MB / 1.292 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/1.359, allocations: 5.4 MB / 1.297 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/1.359, allocations: 47.56 kB / 1.297 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 4.047e-06/1.359, allocations: 0 / 1.297 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.01206/1.371, allocations: 4.21 MB / 1.302 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/1.372, allocations: 64.41 kB / 1.302 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009684/1.381, allocations: 5.673 MB / 1.307 GB, free: 12.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0007095/1.382, allocations: 65.7 kB / 1.307 GB, free: 12.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002363/1.384, allocations: 2.286 MB / 1.309 GB, free: 10.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009885/1.385, allocations: 418.2 kB / 1.31 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/1.387, allocations: 0.9153 MB / 1.311 GB, free: 9.113 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.387, allocations: 309 kB / 1.311 GB, free: 8.809 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004533/1.392, allocations: 2.903 MB / 1.314 GB, free: 5.898 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005365/1.397, allocations: 3.781 MB / 1.318 GB, free: 1.781 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009766/1.407, allocations: 6.174 MB / 1.324 GB, free: 11.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-05/1.407, allocations: 8 kB / 1.324 GB, free: 11.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01489/1.422, allocations: 7.793 MB / 1.331 GB, free: 3.492 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.779e-05/1.422, allocations: 12 kB / 1.331 GB, free: 3.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/1.422, allocations: 20.91 kB / 1.331 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/1.424, allocations: 0.9714 MB / 1.332 GB, free: 2.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00324/1.428, allocations: 0.6787 MB / 1.333 GB, free: 1.797 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/1.43, allocations: 2.963 MB / 1.336 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005565/1.436, allocations: 473.3 kB / 1.336 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007207/1.437, allocations: 223.9 kB / 1.336 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006657/1.443, allocations: 3.519 MB / 1.34 GB, free: 10.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004797/1.448, allocations: 3.305 MB / 1.343 GB, free: 6.879 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008013/1.456, allocations: 5.221 MB / 1.348 GB, free: 1.391 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.029e-05/1.456, allocations: 4 kB / 1.348 GB, free: 1.387 MB / 1.045 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01339/1.47, allocations: 6.918 MB / 1.355 GB, free: 10.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.47, allocations: 12 kB / 1.355 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/1.47, allocations: 32.05 kB / 1.355 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/1.473, allocations: 1.085 MB / 1.356 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002926/1.476, allocations: 0.6396 MB / 1.357 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/1.499, allocations: 16.53 MB / 1.373 GB, free: 7.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005459/1.504, allocations: 366.4 kB / 1.373 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009762/1.505, allocations: 191.9 kB / 1.373 GB, free: 6.883 MB / 1.076 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.001551/1.507, allocations: 339.5 kB / 1.374 GB, free: 6.543 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002113/1.509, allocations: 497.2 kB / 1.374 GB, free: 6.051 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009012/1.518, allocations: 3.534 MB / 1.378 GB, free: 2.488 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/1.518, allocations: 19.98 kB / 1.378 GB, free: 2.469 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.518, allocations: 7.875 kB / 1.378 GB, free: 2.461 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/1.518, allocations: 7.984 kB / 1.378 GB, free: 2.453 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.533, allocations: 6.499 MB / 1.384 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/1.533, allocations: 0 / 1.384 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/1.535, allocations: 315.7 kB / 1.384 GB, free: 11.55 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/1.536, allocations: 462.9 kB / 1.385 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/1.536, allocations: 55.94 kB / 1.385 GB, free: 11.04 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/1.539, allocations: 2.799 MB / 1.387 GB, free: 8.133 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.539, allocations: 3.938 kB / 1.387 GB, free: 8.129 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00784/1.546, allocations: 3.265 MB / 1.391 GB, free: 4.816 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002971/1.549, allocations: 0.818 MB / 1.391 GB, free: 3.973 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009596/1.55, allocations: 20 kB / 1.391 GB, free: 3.953 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/1.553, allocations: 155.8 kB / 1.392 GB, free: 3.801 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/1.553, allocations: 97.11 kB / 1.392 GB, free: 3.707 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/1.553, allocations: 95.92 kB / 1.392 GB, free: 3.613 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.006967/1.56, allocations: 3.747 MB / 1.395 GB, free: 15.87 MB / 1.107 GB Notification: Performance of sort global known variables: time 6.01e-07/1.56, allocations: 0 / 1.395 GB, free: 15.87 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.009633/1.57, allocations: 2.398 MB / 1.398 GB, free: 13.47 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 (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.002859/1.573, allocations: 0.9348 MB / 1.399 GB, free: 12.54 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01659/1.59, allocations: 8.412 MB / 1.407 GB, free: 4.074 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.199e-05/1.59, allocations: 8.109 kB / 1.407 GB, free: 4.066 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003674/1.593, allocations: 1.206 MB / 1.408 GB, free: 2.859 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01182/1.605, allocations: 2.551 MB / 1.411 GB, free: 388 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/1.622, allocations: 8.63 MB / 1.419 GB, free: 7.707 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/1.625, allocations: 2.965 MB / 1.422 GB, free: 4.715 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.006021/1.631, allocations: 1.381 MB / 1.423 GB, free: 3.332 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.632, allocations: 391.2 kB / 1.424 GB, free: 2.949 MB / 1.123 GB Notification: Performance of SimCode: time 1.102e-06/1.632, allocations: 0 / 1.424 GB, free: 2.949 MB / 1.123 GB Notification: Performance of Templates: time 0.1867/1.819, allocations: 110 MB / 1.531 GB, free: 6.242 MB / 1.232 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 -s cvode -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