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.007794/0.007794, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.002104/0.002104, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.304/2.304, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 63.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9149/0.9166, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1285/1.045, allocations: 105 MB / 1.19 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.05795/1.103, allocations: 32.96 MB / 1.223 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/1.113, allocations: 159.2 kB / 1.223 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008489/1.122, allocations: 2.047 MB / 1.225 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01993/1.142, allocations: 5.238 MB / 1.23 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01319/1.155, allocations: 3.908 MB / 1.234 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02294/1.178, allocations: 9.588 MB / 1.243 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009141/1.187, allocations: 3.535 MB / 1.247 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01343/1.201, allocations: 4.117 MB / 1.251 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007587/1.208, allocations: 3.054 MB / 1.254 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00228/1.211, allocations: 420 kB / 1.254 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008748/1.22, allocations: 2.632 MB / 1.256 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002614/1.222, allocations: 1.328 MB / 1.258 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005925/1.228, allocations: 2.355 MB / 1.26 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01753/1.246, allocations: 7.477 MB / 1.267 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.246, allocations: 0 / 1.267 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.755e-06/1.246, allocations: 0 / 1.267 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000307/1.246, allocations: 4 kB / 1.267 GB, free: 5.926 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.0157/1.262, allocations: 5.238 MB / 1.273 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.262, allocations: 8.031 kB / 1.273 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009627/1.271, allocations: 1.535 MB / 1.274 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01309/1.285, allocations: 4.43 MB / 1.278 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/1.285, allocations: 184.2 kB / 1.279 GB, free: 10.36 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009443/1.286, allocations: 236 kB / 1.279 GB, free: 10.13 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007498/1.293, allocations: 2.831 MB / 1.282 GB, free: 7.164 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.086e-05/1.293, allocations: 4 kB / 1.282 GB, free: 7.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003491/1.294, allocations: 84 kB / 1.282 GB, free: 7.078 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.294, allocations: 52 kB / 1.282 GB, free: 7.027 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006044/1.3, allocations: 2.147 MB / 1.284 GB, free: 4.879 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.02328/1.323, allocations: 12.85 MB / 1.296 GB, free: 7.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004566/1.328, allocations: 1.685 MB / 1.298 GB, free: 5.469 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002132/1.33, allocations: 0.8014 MB / 1.299 GB, free: 4.664 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008081/1.338, allocations: 4.085 MB / 1.303 GB, free: 260 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/1.338, allocations: 47.56 kB / 1.303 GB, free: 204 kB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 2.695e-06/1.338, allocations: 0 / 1.303 GB, free: 204 kB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.01098/1.349, allocations: 3.293 MB / 1.306 GB, free: 12.81 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/1.349, allocations: 64.41 kB / 1.306 GB, free: 12.74 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007307/1.357, allocations: 3.475 MB / 1.309 GB, free: 9.246 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004633/1.357, allocations: 61.7 kB / 1.309 GB, free: 9.18 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001977/1.359, allocations: 1.811 MB / 1.311 GB, free: 7.359 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006314/1.36, allocations: 384.6 kB / 1.312 GB, free: 6.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/1.361, allocations: 479.2 kB / 1.312 GB, free: 6.504 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.361, allocations: 305.1 kB / 1.312 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/1.364, allocations: 1.281 MB / 1.314 GB, free: 4.918 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/1.367, allocations: 1.96 MB / 1.316 GB, free: 2.648 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00604/1.373, allocations: 3.104 MB / 1.319 GB, free: 15.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/1.373, allocations: 19.94 kB / 1.319 GB, free: 15.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.008748/1.382, allocations: 3.953 MB / 1.322 GB, free: 11.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/1.382, allocations: 12 kB / 1.322 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.084e-05/1.382, allocations: 20 kB / 1.322 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/1.384, allocations: 0.7263 MB / 1.323 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/1.386, allocations: 463.2 kB / 1.324 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/1.389, allocations: 2.756 MB / 1.326 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/1.392, allocations: 298.6 kB / 1.327 GB, free: 6.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004108/1.392, allocations: 159.9 kB / 1.327 GB, free: 6.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003947/1.396, allocations: 1.757 MB / 1.328 GB, free: 5.008 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003004/1.399, allocations: 1.769 MB / 1.33 GB, free: 2.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00527/1.405, allocations: 2.729 MB / 1.333 GB, free: 15.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.093e-05/1.405, allocations: 8 kB / 1.333 GB, free: 15.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.009333/1.414, allocations: 3.638 MB / 1.336 GB, free: 12.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/1.414, allocations: 17.72 kB / 1.336 GB, free: 12.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/1.414, allocations: 16 kB / 1.336 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002805/1.417, allocations: 0.866 MB / 1.337 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/1.419, allocations: 431.3 kB / 1.338 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/1.438, allocations: 13.81 MB / 1.351 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.441, allocations: 239.3 kB / 1.351 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005687/1.442, allocations: 132 kB / 1.352 GB, free: 12.1 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.0009736/1.443, allocations: 292.2 kB / 1.352 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.444, allocations: 381.4 kB / 1.352 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007685/1.452, allocations: 2.82 MB / 1.355 GB, free: 8.582 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/1.452, allocations: 16 kB / 1.355 GB, free: 8.566 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.452, allocations: 0 / 1.355 GB, free: 8.566 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/1.452, allocations: 11.97 kB / 1.355 GB, free: 8.555 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/1.464, allocations: 5.057 MB / 1.36 GB, free: 3.41 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.464, allocations: 0 / 1.36 GB, free: 3.41 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/1.466, allocations: 275.6 kB / 1.36 GB, free: 3.141 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009778/1.467, allocations: 394.9 kB / 1.361 GB, free: 2.742 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.467, allocations: 47.95 kB / 1.361 GB, free: 2.695 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/1.469, allocations: 2.635 MB / 1.363 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.469, allocations: 0 / 1.363 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006404/1.475, allocations: 2.599 MB / 1.366 GB, free: 13.3 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.477, allocations: 0.6307 MB / 1.366 GB, free: 12.65 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009183/1.478, allocations: 27.98 kB / 1.366 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/1.48, allocations: 124 kB / 1.366 GB, free: 12.5 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/1.481, allocations: 85.19 kB / 1.367 GB, free: 12.42 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.481, allocations: 75.88 kB / 1.367 GB, free: 12.35 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00462/1.485, allocations: 2.326 MB / 1.369 GB, free: 10.02 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.485, allocations: 0 / 1.369 GB, free: 10.02 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.007075/1.492, allocations: 1.813 MB / 1.371 GB, free: 8.203 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.002481/1.495, allocations: 0.76 MB / 1.371 GB, free: 7.441 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.507, allocations: 4.739 MB / 1.376 GB, free: 2.656 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.507, allocations: 0.75 kB / 1.376 GB, free: 2.656 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002707/1.51, allocations: 0.9874 MB / 1.377 GB, free: 1.668 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008645/1.518, allocations: 1.74 MB / 1.379 GB, free: 15.95 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/1.53, allocations: 6.198 MB / 1.385 GB, free: 9.707 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/1.531, allocations: 2.25 MB / 1.387 GB, free: 7.426 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003698/1.535, allocations: 0.8763 MB / 1.388 GB, free: 6.551 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/1.536, allocations: 283.3 kB / 1.388 GB, free: 6.273 MB / 1.123 GB Notification: Performance of SimCode: time 1.193e-06/1.536, allocations: 0 / 1.388 GB, free: 6.273 MB / 1.123 GB Notification: Performance of Templates: time 0.1326/1.669, allocations: 80.63 MB / 1.467 GB, free: 6.758 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