Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001511/0.001511, allocations: 106.9 kB / 16.27 MB, free: 6.348 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.001581/0.001581, allocations: 188 kB / 17.2 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.408/1.408, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437.1 MB / 0.7111 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.59 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3305, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.5843/0.9148, allocations: 106.5 MB / 1.122 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.05536/0.9702, allocations: 35.45 MB / 1.157 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008849/0.9791, allocations: 166.8 kB / 1.157 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.03175/1.011, allocations: 18.57 MB / 1.175 GB, free: 3.645 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01756/1.029, allocations: 5.384 MB / 1.18 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01166/1.04, allocations: 4.064 MB / 1.184 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.04972/1.09, allocations: 31.92 MB / 1.215 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007419/1.097, allocations: 3.571 MB / 1.219 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01208/1.11, allocations: 4.176 MB / 1.223 GB, free: 8.051 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007265/1.117, allocations: 3.302 MB / 1.226 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001889/1.119, allocations: 452 kB / 1.226 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009003/1.128, allocations: 2.987 MB / 1.229 GB, free: 1.301 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003182/1.131, allocations: 1.912 MB / 1.231 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.006015/1.137, allocations: 3.051 MB / 1.234 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01595/1.153, allocations: 9.217 MB / 1.243 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.153, allocations: 0 / 1.243 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.124e-06/1.153, allocations: 0 / 1.243 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002243/1.153, allocations: 0 / 1.243 GB, free: 3.07 MB / 0.9356 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.01464/1.168, allocations: 6.394 MB / 1.249 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.168, allocations: 12.62 kB / 1.249 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/1.179, allocations: 1.909 MB / 1.251 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0174/1.197, allocations: 7.275 MB / 1.258 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/1.197, allocations: 213.2 kB / 1.259 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000963/1.198, allocations: 252 kB / 1.259 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007865/1.206, allocations: 3.407 MB / 1.262 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/1.206, allocations: 4 kB / 1.262 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/1.207, allocations: 91.94 kB / 1.262 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/1.207, allocations: 52 kB / 1.262 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007358/1.214, allocations: 2.584 MB / 1.265 GB, free: 12.5 MB / 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.02779/1.242, allocations: 15.32 MB / 1.28 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007106/1.249, allocations: 2.437 MB / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/1.252, allocations: 1.055 MB / 1.283 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/1.264, allocations: 5.392 MB / 1.289 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/1.264, allocations: 47.55 kB / 1.289 GB, free: 3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=115): time 3.287e-06/1.264, allocations: 4 kB / 1.289 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=115): time 0.0143/1.279, allocations: 4.242 MB / 1.293 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/1.279, allocations: 64.41 kB / 1.293 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/1.291, allocations: 5.677 MB / 1.298 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006073/1.292, allocations: 65.69 kB / 1.298 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003079/1.295, allocations: 2.283 MB / 1.301 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000852/1.296, allocations: 422.2 kB / 1.301 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002406/1.298, allocations: 0.9114 MB / 1.302 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.298, allocations: 301.1 kB / 1.302 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005365/1.304, allocations: 2.914 MB / 1.305 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006474/1.31, allocations: 3.785 MB / 1.309 GB, free: 13.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/1.321, allocations: 6.193 MB / 1.315 GB, free: 7.387 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.421e-05/1.321, allocations: 4 kB / 1.315 GB, free: 7.383 MB / 1.014 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01659/1.338, allocations: 7.813 MB / 1.322 GB, free: 15.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/1.338, allocations: 12 kB / 1.322 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.901e-05/1.338, allocations: 16 kB / 1.322 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/1.341, allocations: 0.9876 MB / 1.323 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003273/1.344, allocations: 0.6748 MB / 1.324 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003238/1.347, allocations: 2.962 MB / 1.327 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/1.352, allocations: 487.9 kB / 1.327 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008394/1.353, allocations: 223.9 kB / 1.328 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007609/1.36, allocations: 3.532 MB / 1.331 GB, free: 6.523 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005913/1.366, allocations: 3.313 MB / 1.334 GB, free: 2.875 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009861/1.376, allocations: 5.24 MB / 1.339 GB, free: 13.36 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.728e-05/1.376, allocations: 8 kB / 1.339 GB, free: 13.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01608/1.392, allocations: 6.934 MB / 1.346 GB, free: 6.383 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/1.392, allocations: 15.94 kB / 1.346 GB, free: 6.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/1.392, allocations: 16.09 kB / 1.346 GB, free: 6.352 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003323/1.396, allocations: 1.081 MB / 1.347 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/1.399, allocations: 0.6591 MB / 1.348 GB, free: 4.598 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/1.423, allocations: 16.54 MB / 1.364 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004664/1.428, allocations: 389 kB / 1.364 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007333/1.428, allocations: 187.9 kB / 1.365 GB, free: 2.812 MB / 1.061 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.001141/1.43, allocations: 339.4 kB / 1.365 GB, free: 2.473 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/1.431, allocations: 497.3 kB / 1.365 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/1.441, allocations: 3.55 MB / 1.369 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/1.442, allocations: 23.92 kB / 1.369 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.442, allocations: 4 kB / 1.369 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/1.442, allocations: 7.969 kB / 1.369 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/1.458, allocations: 6.522 MB / 1.375 GB, free: 7.754 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.458, allocations: 8.125 kB / 1.375 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.46, allocations: 311.5 kB / 1.376 GB, free: 7.441 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/1.462, allocations: 455 kB / 1.376 GB, free: 6.984 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/1.462, allocations: 51.89 kB / 1.376 GB, free: 6.934 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/1.464, allocations: 2.818 MB / 1.379 GB, free: 4.012 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.464, allocations: 0 / 1.379 GB, free: 4.012 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008744/1.473, allocations: 3.288 MB / 1.382 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/1.475, allocations: 0.8142 MB / 1.383 GB, free: 15.83 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001275/1.477, allocations: 24 kB / 1.383 GB, free: 15.81 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/1.48, allocations: 159.8 kB / 1.383 GB, free: 15.65 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/1.48, allocations: 93.12 kB / 1.383 GB, free: 15.56 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002674/1.48, allocations: 95.92 kB / 1.383 GB, free: 15.47 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.008052/1.489, allocations: 3.751 MB / 1.387 GB, free: 11.73 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.91e-07/1.489, allocations: 3.938 kB / 1.387 GB, free: 11.72 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.009013/1.498, allocations: 2.402 MB / 1.389 GB, free: 9.32 MB / 1.092 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.00259/1.5, allocations: 0.9232 MB / 1.39 GB, free: 8.391 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01924/1.519, allocations: 8.495 MB / 1.398 GB, free: 15.85 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.519, allocations: 0 / 1.398 GB, free: 15.85 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003567/1.523, allocations: 1.223 MB / 1.4 GB, free: 14.62 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01219/1.535, allocations: 2.55 MB / 1.402 GB, free: 12.15 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/1.555, allocations: 8.933 MB / 1.411 GB, free: 3.176 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003736/1.559, allocations: 2.922 MB / 1.414 GB, free: 232 kB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/1.561, allocations: 415.2 kB / 1.414 GB, free: 15.82 MB / 1.123 GB Notification: Performance of SimCode: time 8.42e-07/1.561, allocations: 0 / 1.414 GB, free: 15.82 MB / 1.123 GB Notification: Performance of Templates: time 0.7102/2.271, allocations: 177.3 MB / 1.587 GB, free: 416.4 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches