Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001076/0.001077, allocations: 107.7 kB / 16.36 MB, free: 6.285 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.001105/0.001105, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.468/2.468, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 69.88 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2665, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.635/0.9016, allocations: 106.5 MB / 1.131 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.05615/0.9578, allocations: 35.44 MB / 1.165 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007797/0.9656, allocations: 166.1 kB / 1.165 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.03246/0.9982, allocations: 18.58 MB / 1.184 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.02022/1.018, allocations: 5.378 MB / 1.189 GB, free: 4.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0123/1.031, allocations: 4.113 MB / 1.193 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.04642/1.077, allocations: 31.93 MB / 1.224 GB, free: 3.699 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00713/1.084, allocations: 3.571 MB / 1.228 GB, free: 68 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01168/1.096, allocations: 4.181 MB / 1.232 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005921/1.102, allocations: 3.344 MB / 1.235 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001805/1.104, allocations: 452 kB / 1.235 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007567/1.111, allocations: 2.979 MB / 1.238 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002605/1.114, allocations: 1.912 MB / 1.24 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005572/1.12, allocations: 3.055 MB / 1.243 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01444/1.134, allocations: 9.275 MB / 1.252 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.134, allocations: 0 / 1.252 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.344e-06/1.134, allocations: 0 / 1.252 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0003355/1.135, allocations: 0 / 1.252 GB, free: 6.809 MB / 0.9512 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.01512/1.15, allocations: 6.401 MB / 1.258 GB, free: 296 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.15, allocations: 15.98 kB / 1.258 GB, free: 280 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/1.161, allocations: 1.909 MB / 1.26 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01803/1.179, allocations: 7.388 MB / 1.267 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/1.18, allocations: 188.3 kB / 1.268 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/1.181, allocations: 247.9 kB / 1.268 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00831/1.189, allocations: 3.411 MB / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-05/1.189, allocations: 3.938 kB / 1.271 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000454/1.19, allocations: 88 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/1.19, allocations: 56 kB / 1.271 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006952/1.197, allocations: 2.569 MB / 1.274 GB, free: 164 kB / 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.02621/1.223, allocations: 15.22 MB / 1.289 GB, free: 36 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005962/1.229, allocations: 2.417 MB / 1.291 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002516/1.231, allocations: 1.043 MB / 1.292 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009956/1.241, allocations: 5.404 MB / 1.297 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/1.241, allocations: 43.56 kB / 1.297 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=115): time 2.795e-06/1.241, allocations: 0 / 1.297 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=115): time 0.01255/1.254, allocations: 4.222 MB / 1.302 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/1.254, allocations: 64.41 kB / 1.302 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009827/1.264, allocations: 5.673 MB / 1.307 GB, free: 12.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000543/1.264, allocations: 61.7 kB / 1.307 GB, free: 12.65 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002369/1.267, allocations: 2.286 MB / 1.309 GB, free: 10.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007151/1.268, allocations: 418.2 kB / 1.31 GB, free: 9.934 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001955/1.27, allocations: 0.9114 MB / 1.311 GB, free: 9.016 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/1.27, allocations: 309.1 kB / 1.311 GB, free: 8.711 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00474/1.274, allocations: 2.899 MB / 1.314 GB, free: 5.805 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005636/1.28, allocations: 3.781 MB / 1.318 GB, free: 1.688 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009739/1.29, allocations: 6.17 MB / 1.324 GB, free: 11.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-05/1.29, allocations: 8 kB / 1.324 GB, free: 11.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01425/1.304, allocations: 7.801 MB / 1.331 GB, free: 3.395 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/1.304, allocations: 15.98 kB / 1.331 GB, free: 3.379 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.194e-05/1.304, allocations: 16 kB / 1.331 GB, free: 3.363 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/1.307, allocations: 0.9794 MB / 1.332 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003114/1.31, allocations: 0.6748 MB / 1.333 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/1.312, allocations: 2.963 MB / 1.336 GB, free: 14.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004428/1.317, allocations: 465.3 kB / 1.336 GB, free: 14.17 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006201/1.317, allocations: 219.9 kB / 1.336 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00633/1.324, allocations: 3.523 MB / 1.34 GB, free: 10.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004919/1.329, allocations: 3.309 MB / 1.343 GB, free: 6.781 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008187/1.337, allocations: 5.222 MB / 1.348 GB, free: 1.293 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.787e-05/1.337, allocations: 4 kB / 1.348 GB, free: 1.289 MB / 1.045 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.0135/1.35, allocations: 6.922 MB / 1.355 GB, free: 10.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.35, allocations: 14.34 kB / 1.355 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/1.35, allocations: 16 kB / 1.355 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/1.354, allocations: 1.085 MB / 1.356 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/1.356, allocations: 0.6514 MB / 1.357 GB, free: 8.543 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02085/1.377, allocations: 16.53 MB / 1.373 GB, free: 7.332 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/1.382, allocations: 362.3 kB / 1.373 GB, free: 6.977 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006652/1.382, allocations: 187.9 kB / 1.373 GB, free: 6.793 MB / 1.076 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.0009473/1.383, allocations: 347.3 kB / 1.374 GB, free: 6.445 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.385, allocations: 493.3 kB / 1.374 GB, free: 5.957 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008972/1.394, allocations: 3.534 MB / 1.378 GB, free: 2.395 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/1.394, allocations: 19.98 kB / 1.378 GB, free: 2.375 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.394, allocations: 3.938 kB / 1.378 GB, free: 2.371 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.394, allocations: 11.97 kB / 1.378 GB, free: 2.359 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01499/1.409, allocations: 6.491 MB / 1.384 GB, free: 11.78 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.409, allocations: 3.938 kB / 1.384 GB, free: 11.77 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/1.411, allocations: 315.6 kB / 1.384 GB, free: 11.46 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/1.412, allocations: 462.8 kB / 1.385 GB, free: 11 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/1.412, allocations: 55.94 kB / 1.385 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/1.414, allocations: 2.803 MB / 1.387 GB, free: 8.039 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.414, allocations: 0 / 1.387 GB, free: 8.039 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007726/1.422, allocations: 3.265 MB / 1.391 GB, free: 4.727 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002368/1.424, allocations: 0.818 MB / 1.391 GB, free: 3.883 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/1.425, allocations: 28 kB / 1.391 GB, free: 3.855 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/1.428, allocations: 152 kB / 1.392 GB, free: 3.707 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/1.428, allocations: 97.12 kB / 1.392 GB, free: 3.613 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/1.429, allocations: 91.92 kB / 1.392 GB, free: 3.523 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.006915/1.436, allocations: 3.755 MB / 1.395 GB, free: 15.78 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.607e-06/1.436, allocations: 0 / 1.395 GB, free: 15.78 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.008109/1.444, allocations: 2.398 MB / 1.398 GB, free: 13.38 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 (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.002292/1.446, allocations: 0.9407 MB / 1.399 GB, free: 12.43 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0156/1.462, allocations: 8.398 MB / 1.407 GB, free: 3.98 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.462, allocations: 9.812 kB / 1.407 GB, free: 3.973 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003141/1.465, allocations: 1.21 MB / 1.408 GB, free: 2.762 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01039/1.475, allocations: 2.541 MB / 1.411 GB, free: 300 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.491, allocations: 8.636 MB / 1.419 GB, free: 7.613 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/1.494, allocations: 2.957 MB / 1.422 GB, free: 4.629 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.005542/1.5, allocations: 1.393 MB / 1.423 GB, free: 3.234 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/1.501, allocations: 391.2 kB / 1.424 GB, free: 2.852 MB / 1.123 GB Notification: Performance of SimCode: time 9.82e-07/1.501, allocations: 0 / 1.424 GB, free: 2.852 MB / 1.123 GB Notification: Performance of Templates: time 0.1797/1.681, allocations: 110 MB / 1.531 GB, free: 6.145 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches