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.001475/0.001475, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001558/0.001558, allocations: 187 kB / 17.34 MB, free: 5.762 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.406/1.406, allocations: 222.9 MB / 241 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.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.84 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8923/0.8938, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1176/1.011, allocations: 105 MB / 1.191 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.05368/1.065, allocations: 32.95 MB / 1.223 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00923/1.074, allocations: 159.9 kB / 1.223 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.007315/1.082, allocations: 2.05 MB / 1.225 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01667/1.099, allocations: 5.241 MB / 1.231 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01171/1.11, allocations: 3.916 MB / 1.234 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01815/1.128, allocations: 9.575 MB / 1.244 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008321/1.137, allocations: 3.531 MB / 1.247 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01227/1.149, allocations: 4.129 MB / 1.251 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006848/1.156, allocations: 3.05 MB / 1.254 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001861/1.158, allocations: 412 kB / 1.255 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007813/1.166, allocations: 2.636 MB / 1.257 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002626/1.168, allocations: 1.328 MB / 1.258 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006192/1.175, allocations: 2.363 MB / 1.261 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01589/1.19, allocations: 7.448 MB / 1.268 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.191, allocations: 0 / 1.268 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.588e-06/1.191, allocations: 4 kB / 1.268 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002471/1.191, allocations: 0 / 1.268 GB, free: 6.035 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.01516/1.206, allocations: 5.067 MB / 1.273 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.206, allocations: 12.03 kB / 1.273 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009248/1.215, allocations: 1.521 MB / 1.274 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/1.229, allocations: 4.391 MB / 1.279 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/1.229, allocations: 180.2 kB / 1.279 GB, free: 10.69 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/1.23, allocations: 232 kB / 1.279 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008219/1.238, allocations: 2.839 MB / 1.282 GB, free: 7.488 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.399e-05/1.238, allocations: 4 kB / 1.282 GB, free: 7.484 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005658/1.239, allocations: 84 kB / 1.282 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/1.239, allocations: 52 kB / 1.282 GB, free: 7.352 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00657/1.246, allocations: 2.143 MB / 1.284 GB, free: 5.207 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.02486/1.271, allocations: 12.83 MB / 1.297 GB, free: 7.508 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004949/1.275, allocations: 1.684 MB / 1.298 GB, free: 5.816 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/1.278, allocations: 0.8014 MB / 1.299 GB, free: 5.012 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008732/1.287, allocations: 4.078 MB / 1.303 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/1.287, allocations: 43.56 kB / 1.303 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 4.479e-06/1.287, allocations: 4 kB / 1.303 GB, free: 0.5547 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.01101/1.298, allocations: 3.275 MB / 1.306 GB, free: 13.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/1.298, allocations: 64.41 kB / 1.306 GB, free: 13.11 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007902/1.306, allocations: 3.475 MB / 1.31 GB, free: 9.617 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005724/1.306, allocations: 61.7 kB / 1.31 GB, free: 9.551 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002195/1.308, allocations: 1.777 MB / 1.312 GB, free: 7.762 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007661/1.309, allocations: 366.6 kB / 1.312 GB, free: 7.398 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/1.311, allocations: 475.1 kB / 1.312 GB, free: 6.926 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.311, allocations: 309.1 kB / 1.313 GB, free: 6.621 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/1.314, allocations: 1.273 MB / 1.314 GB, free: 5.344 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003628/1.317, allocations: 1.972 MB / 1.316 GB, free: 3.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006486/1.324, allocations: 3.112 MB / 1.319 GB, free: 15.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.675e-05/1.324, allocations: 12 kB / 1.319 GB, free: 15.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.009405/1.333, allocations: 3.928 MB / 1.323 GB, free: 11.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.332e-05/1.334, allocations: 12 kB / 1.323 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/1.334, allocations: 20 kB / 1.323 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/1.336, allocations: 0.7259 MB / 1.323 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/1.338, allocations: 463.2 kB / 1.324 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/1.34, allocations: 2.756 MB / 1.327 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003397/1.344, allocations: 297.8 kB / 1.327 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004547/1.344, allocations: 155.9 kB / 1.327 GB, free: 7.211 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004116/1.348, allocations: 1.753 MB / 1.329 GB, free: 5.453 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003072/1.351, allocations: 1.777 MB / 1.331 GB, free: 3.367 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005151/1.356, allocations: 2.73 MB / 1.333 GB, free: 396 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.875e-05/1.357, allocations: 4 kB / 1.333 GB, free: 392 kB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.008914/1.365, allocations: 3.62 MB / 1.337 GB, free: 12.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/1.366, allocations: 14.03 kB / 1.337 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/1.366, allocations: 19.98 kB / 1.337 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/1.368, allocations: 0.8665 MB / 1.338 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/1.37, allocations: 431.4 kB / 1.338 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/1.388, allocations: 13.81 MB / 1.351 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/1.391, allocations: 226.9 kB / 1.352 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005616/1.392, allocations: 132 kB / 1.352 GB, free: 12.56 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.000929/1.393, allocations: 296.2 kB / 1.352 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001168/1.394, allocations: 367.2 kB / 1.352 GB, free: 11.9 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007759/1.402, allocations: 2.805 MB / 1.355 GB, free: 9.07 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/1.402, allocations: 15.98 kB / 1.355 GB, free: 9.055 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.402, allocations: 8 kB / 1.355 GB, free: 9.047 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/1.402, allocations: 7.969 kB / 1.355 GB, free: 9.039 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/1.414, allocations: 5.057 MB / 1.36 GB, free: 3.895 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/1.414, allocations: 0 / 1.36 GB, free: 3.895 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/1.416, allocations: 279.7 kB / 1.36 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009888/1.417, allocations: 383 kB / 1.361 GB, free: 3.234 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/1.417, allocations: 47.95 kB / 1.361 GB, free: 3.188 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/1.419, allocations: 2.631 MB / 1.363 GB, free: 464 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.419, allocations: 0 / 1.363 GB, free: 464 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006754/1.426, allocations: 2.585 MB / 1.366 GB, free: 13.81 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001933/1.428, allocations: 0.613 MB / 1.367 GB, free: 13.18 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.429, allocations: 28 kB / 1.367 GB, free: 13.15 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/1.431, allocations: 124 kB / 1.367 GB, free: 13.03 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/1.431, allocations: 89.19 kB / 1.367 GB, free: 12.94 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.432, allocations: 71.88 kB / 1.367 GB, free: 12.87 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00508/1.437, allocations: 2.329 MB / 1.369 GB, free: 10.54 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.7e-07/1.437, allocations: 0 / 1.369 GB, free: 10.54 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.007625/1.444, allocations: 1.793 MB / 1.371 GB, free: 8.742 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.002511/1.447, allocations: 0.7588 MB / 1.372 GB, free: 7.984 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.459, allocations: 4.731 MB / 1.376 GB, free: 3.207 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.459, allocations: 5.875 kB / 1.376 GB, free: 3.203 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002949/1.462, allocations: 0.9757 MB / 1.377 GB, free: 2.227 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009385/1.471, allocations: 1.751 MB / 1.379 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.486, allocations: 6.225 MB / 1.385 GB, free: 10.23 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002966/1.489, allocations: 2.242 MB / 1.387 GB, free: 7.957 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.49, allocations: 295.3 kB / 1.387 GB, free: 7.668 MB / 1.123 GB Notification: Performance of SimCode: time 1.262e-06/1.49, allocations: 0 / 1.387 GB, free: 7.668 MB / 1.123 GB Notification: Performance of Templates: time 0.163/1.653, allocations: 132.5 MB / 1.517 GB, free: 3.629 MB / 1.248 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/jenkins1/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