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.0009419/0.0009418, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.008666/0.008666, allocations: 171.3 kB / 16.26 MB, free: 6.676 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.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.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.46/2.46, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003524, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7318, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1097/0.8415, allocations: 102.5 MB / 1.055 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04807/0.8896, allocations: 32.67 MB / 1.087 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006048/0.8957, allocations: 135.1 kB / 1.087 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005865/0.9016, allocations: 1.68 MB / 1.089 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0147/0.9163, allocations: 4.649 MB / 1.093 GB, free: 1.348 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01155/0.9279, allocations: 3.54 MB / 1.097 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01899/0.9469, allocations: 12.68 MB / 1.109 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006448/0.9534, allocations: 2.932 MB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008999/0.9624, allocations: 3.364 MB / 1.115 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006213/0.9687, allocations: 2.971 MB / 1.118 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.9697, allocations: 168 kB / 1.118 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006396/0.9762, allocations: 2.362 MB / 1.121 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.9776, allocations: 1.07 MB / 1.122 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003274/0.9809, allocations: 2.095 MB / 1.124 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009604/0.9905, allocations: 7.082 MB / 1.131 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.9906, allocations: 0 / 1.131 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9906, allocations: 0 / 1.131 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001381/0.9907, allocations: 0 / 1.131 GB, free: 10.94 MB / 0.8887 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.008902/0.9996, allocations: 4.352 MB / 1.135 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.9997, allocations: 12.03 kB / 1.135 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008958/1.009, allocations: 1.627 MB / 1.137 GB, free: 4.859 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/1.019, allocations: 4.411 MB / 1.141 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/1.019, allocations: 189.1 kB / 1.141 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006663/1.02, allocations: 232.1 kB / 1.141 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006462/1.026, allocations: 2.844 MB / 1.144 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/1.027, allocations: 4 kB / 1.144 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/1.027, allocations: 87.94 kB / 1.144 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.673e-05/1.027, allocations: 52 kB / 1.144 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005736/1.033, allocations: 2.194 MB / 1.146 GB, free: 10.64 MB / 0.9044 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.01912/1.052, allocations: 12.64 MB / 1.159 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/1.056, allocations: 1.782 MB / 1.16 GB, free: 11.37 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/1.058, allocations: 0.8352 MB / 1.161 GB, free: 10.53 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006909/1.065, allocations: 4.16 MB / 1.165 GB, free: 6.043 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/1.065, allocations: 43.56 kB / 1.165 GB, free: 5.992 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001196/1.066, allocations: 210.2 kB / 1.165 GB, free: 5.785 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 3.217e-06/1.066, allocations: 0 / 1.165 GB, free: 5.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=111): time 0.01012/1.076, allocations: 3.388 MB / 1.169 GB, free: 2.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/1.077, allocations: 64.41 kB / 1.169 GB, free: 2.223 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004863/1.081, allocations: 3.42 MB / 1.172 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003436/1.082, allocations: 57.69 kB / 1.172 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/1.083, allocations: 1.777 MB / 1.174 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004868/1.084, allocations: 394.3 kB / 1.174 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/1.084, allocations: 181.5 kB / 1.175 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.084, allocations: 313.1 kB / 1.175 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002766/1.087, allocations: 1.296 MB / 1.176 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/1.09, allocations: 1.995 MB / 1.178 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006007/1.096, allocations: 3.182 MB / 1.181 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/1.097, allocations: 4 kB / 1.181 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.009263/1.106, allocations: 4.01 MB / 1.185 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004828/1.106, allocations: 0.626 MB / 1.186 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/1.106, allocations: 20 kB / 1.186 GB, free: 84 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/1.108, allocations: 0.741 MB / 1.186 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/1.11, allocations: 471.3 kB / 1.187 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.113, allocations: 2.748 MB / 1.19 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003237/1.116, allocations: 243.7 kB / 1.19 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002969/1.116, allocations: 155.9 kB / 1.19 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.116, allocations: 5.719 kB / 1.19 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007148/1.123, allocations: 3.337 MB / 1.193 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/1.123, allocations: 20 kB / 1.193 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002811/1.126, allocations: 0.8593 MB / 1.194 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/1.128, allocations: 443.3 kB / 1.194 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/1.146, allocations: 12.32 MB / 1.207 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003678/1.149, allocations: 235.6 kB / 1.207 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002757/1.15, allocations: 140 kB / 1.207 GB, free: 9.602 MB / 0.9669 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 (207): * Single equations (assignments): 199 * 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.002029/1.152, allocations: 0.8713 MB / 1.208 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006095/1.152, allocations: 359.3 kB / 1.208 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007009/1.159, allocations: 2.875 MB / 1.211 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/1.159, allocations: 19.92 kB / 1.211 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.159, allocations: 3.938 kB / 1.211 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/1.16, allocations: 11.97 kB / 1.211 GB, free: 5.426 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 postOpt removeSimpleEquations (simulation): time 0.01113/1.171, allocations: 5.161 MB / 1.216 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.171, allocations: 0 / 1.216 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.172, allocations: 287.8 kB / 1.216 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009885/1.173, allocations: 391 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/1.173, allocations: 43.95 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/1.175, allocations: 2.635 MB / 1.219 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.175, allocations: 0 / 1.219 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006253/1.182, allocations: 2.617 MB / 1.222 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.183, allocations: 0.6092 MB / 1.222 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/1.184, allocations: 24 kB / 1.222 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/1.186, allocations: 227.6 kB / 1.223 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/1.186, allocations: 93.17 kB / 1.223 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/1.186, allocations: 67.94 kB / 1.223 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003657/1.19, allocations: 2.283 MB / 1.225 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/1.19, allocations: 0 / 1.225 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006741/1.197, allocations: 1.832 MB / 1.227 GB, free: 4.891 MB / 0.9825 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 (117): * Single equations (assignments): 103 * 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.001885/1.199, allocations: 0.716 MB / 1.227 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01086/1.209, allocations: 4.729 MB / 1.232 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/1.209, allocations: 4 kB / 1.232 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002741/1.212, allocations: 0.9963 MB / 1.233 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009123/1.221, allocations: 1.711 MB / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.234, allocations: 7.477 MB / 1.242 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/1.236, allocations: 2.258 MB / 1.244 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004565/1.241, allocations: 0.8956 MB / 1.245 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007966/1.242, allocations: 279.3 kB / 1.245 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of SimCode: time 1.293e-06/1.242, allocations: 0 / 1.245 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of Templates: time 0.6179/1.86, allocations: 79.1 MB / 1.323 GB, free: 215.6 MB / 0.9981 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