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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00101/0.00101, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 182.2 kB / 16.92 MB, free: 6.918 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.353/1.353, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.9 MB / 0.667 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003667, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7056, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1043/0.81, allocations: 102.5 MB / 1.056 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.05355/0.8636, allocations: 32.67 MB / 1.088 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008457/0.8721, allocations: 135.1 kB / 1.088 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007008/0.8791, allocations: 1.669 MB / 1.089 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01595/0.8952, allocations: 4.66 MB / 1.094 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01075/0.9059, allocations: 3.537 MB / 1.097 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01892/0.9249, allocations: 12.68 MB / 1.11 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007539/0.9324, allocations: 2.94 MB / 1.113 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0105/0.943, allocations: 3.364 MB / 1.116 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00657/0.9496, allocations: 2.979 MB / 1.119 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001798/0.9514, allocations: 164 kB / 1.119 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007882/0.9593, allocations: 2.359 MB / 1.121 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002453/0.9618, allocations: 1.086 MB / 1.122 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005003/0.9669, allocations: 2.088 MB / 1.124 GB, free: 2.074 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008935/0.9758, allocations: 5.7 MB / 1.13 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9759, allocations: 0 / 1.13 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.035e-06/0.9759, allocations: 0 / 1.13 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002421/0.9761, allocations: 0 / 1.13 GB, free: 12.36 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.01087/0.987, allocations: 4.344 MB / 1.134 GB, free: 7.934 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.9871, allocations: 8.031 kB / 1.134 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009597/0.9967, allocations: 1.627 MB / 1.136 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/1.009, allocations: 4.415 MB / 1.14 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/1.009, allocations: 189.1 kB / 1.14 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009051/1.01, allocations: 232 kB / 1.141 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007831/1.018, allocations: 2.84 MB / 1.143 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.679e-05/1.018, allocations: 4 kB / 1.143 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004268/1.019, allocations: 91.94 kB / 1.143 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.894e-05/1.019, allocations: 52 kB / 1.143 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006691/1.025, allocations: 2.186 MB / 1.146 GB, free: 12.09 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.02185/1.047, allocations: 12.64 MB / 1.158 GB, free: 14.59 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005005/1.052, allocations: 1.778 MB / 1.16 GB, free: 12.8 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/1.055, allocations: 0.8352 MB / 1.16 GB, free: 11.96 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008245/1.063, allocations: 4.167 MB / 1.165 GB, free: 7.473 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/1.063, allocations: 43.56 kB / 1.165 GB, free: 7.422 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00168/1.065, allocations: 202.3 kB / 1.165 GB, free: 7.223 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 5.931e-06/1.065, allocations: 0 / 1.165 GB, free: 7.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=111): time 0.01147/1.076, allocations: 3.396 MB / 1.168 GB, free: 3.727 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.076, allocations: 68.39 kB / 1.168 GB, free: 3.648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006234/1.083, allocations: 3.424 MB / 1.172 GB, free: 212 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004903/1.083, allocations: 57.7 kB / 1.172 GB, free: 148 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001854/1.085, allocations: 1.777 MB / 1.173 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006282/1.086, allocations: 390.4 kB / 1.174 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000482/1.086, allocations: 181.6 kB / 1.174 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/1.086, allocations: 305.1 kB / 1.174 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003107/1.089, allocations: 1.292 MB / 1.175 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003601/1.093, allocations: 2.003 MB / 1.177 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006503/1.1, allocations: 3.174 MB / 1.18 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/1.1, allocations: 8 kB / 1.18 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=243) (initialization): time 0.009781/1.109, allocations: 4.007 MB / 1.184 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004879/1.11, allocations: 0.6232 MB / 1.185 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/1.11, allocations: 20 kB / 1.185 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/1.112, allocations: 0.7371 MB / 1.186 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/1.114, allocations: 471.2 kB / 1.186 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/1.117, allocations: 2.744 MB / 1.189 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003688/1.121, allocations: 255.7 kB / 1.189 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000555/1.122, allocations: 155.9 kB / 1.189 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.122, allocations: 4 kB / 1.189 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008594/1.13, allocations: 3.33 MB / 1.193 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-05/1.13, allocations: 27.97 kB / 1.193 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/1.133, allocations: 0.8583 MB / 1.193 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/1.135, allocations: 439.3 kB / 1.194 GB, free: 8.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/1.153, allocations: 12.33 MB / 1.206 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/1.156, allocations: 239.6 kB / 1.206 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000565/1.157, allocations: 132 kB / 1.206 GB, free: 11.04 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.002422/1.159, allocations: 0.8674 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009808/1.16, allocations: 359.3 kB / 1.207 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008171/1.169, allocations: 2.891 MB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/1.169, allocations: 12 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/1.169, allocations: 11.92 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/1.169, allocations: 3.984 kB / 1.21 GB, free: 6.859 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.01301/1.182, allocations: 5.149 MB / 1.215 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/1.182, allocations: 8.125 kB / 1.215 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.183, allocations: 275.6 kB / 1.216 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/1.184, allocations: 399 kB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/1.185, allocations: 47.95 kB / 1.216 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/1.187, allocations: 2.639 MB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.187, allocations: 4 kB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006737/1.193, allocations: 2.617 MB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001759/1.195, allocations: 0.6014 MB / 1.222 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008376/1.196, allocations: 23.98 kB / 1.222 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/1.199, allocations: 231.6 kB / 1.222 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/1.199, allocations: 89.19 kB / 1.222 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/1.199, allocations: 68 kB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.004896/1.204, allocations: 2.29 MB / 1.224 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.01e-07/1.204, allocations: 0 / 1.224 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.007986/1.212, allocations: 1.824 MB / 1.226 GB, free: 6.328 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.002261/1.214, allocations: 0.7244 MB / 1.227 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.226, allocations: 4.73 MB / 1.231 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.226, allocations: 0 / 1.231 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002971/1.229, allocations: 0.9956 MB / 1.232 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/1.239, allocations: 1.711 MB / 1.234 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/1.254, allocations: 7.646 MB / 1.242 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/1.256, allocations: 2.234 MB / 1.244 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.258, allocations: 303.3 kB / 1.244 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of SimCode: time 1.283e-06/1.258, allocations: 3.938 kB / 1.244 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of Templates: time 0.6305/1.888, allocations: 131 MB / 1.372 GB, free: 164.2 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/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