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.00883/0.008829, allocations: 99.66 kB / 15.73 MB, free: 6.047 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.001927/0.001927, allocations: 188 kB / 16.67 MB, free: 5.977 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.466/1.466, allocations: 222.9 MB / 240.3 MB, free: 4.332 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.528/2.528, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 66.95 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.297, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1009/0.3979, allocations: 105 MB / 1.19 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04807/0.4461, allocations: 32.95 MB / 1.223 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007724/0.4538, allocations: 163 kB / 1.223 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007833/0.4617, allocations: 2.042 MB / 1.225 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01741/0.4793, allocations: 5.247 MB / 1.23 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.4897, allocations: 3.912 MB / 1.234 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01487/0.5046, allocations: 9.588 MB / 1.243 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006164/0.5108, allocations: 3.531 MB / 1.247 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009869/0.5207, allocations: 4.13 MB / 1.251 GB, free: 10.44 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005663/0.5264, allocations: 3.046 MB / 1.254 GB, free: 7.379 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001063/0.5275, allocations: 416 kB / 1.254 GB, free: 6.973 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006689/0.5342, allocations: 2.636 MB / 1.256 GB, free: 4.332 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.5362, allocations: 1.328 MB / 1.258 GB, free: 3 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003617/0.5398, allocations: 2.359 MB / 1.26 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.7582/1.298, allocations: 7.438 MB / 1.267 GB, free: 21.83 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.298, allocations: 0 / 1.267 GB, free: 21.83 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.467e-06/1.298, allocations: 0.8438 kB / 1.267 GB, free: 21.83 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003339/1.298, allocations: 3.188 kB / 1.267 GB, free: 21.83 MB / 1.014 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.02056/1.319, allocations: 5.072 MB / 1.272 GB, free: 19.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/1.319, allocations: 9.125 kB / 1.272 GB, free: 19.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/1.33, allocations: 1.516 MB / 1.274 GB, free: 19.33 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/1.351, allocations: 4.395 MB / 1.278 GB, free: 18.42 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005945/1.352, allocations: 182 kB / 1.278 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002274/1.354, allocations: 233.2 kB / 1.278 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/1.367, allocations: 2.843 MB / 1.281 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/1.367, allocations: 4.625 kB / 1.281 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001037/1.368, allocations: 84.03 kB / 1.281 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-05/1.368, allocations: 51.5 kB / 1.281 GB, free: 18.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008101/1.376, allocations: 2.135 MB / 1.283 GB, free: 18.02 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.02745/1.404, allocations: 12.83 MB / 1.296 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/1.409, allocations: 1.683 MB / 1.298 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/1.412, allocations: 0.8001 MB / 1.298 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.011/1.423, allocations: 4.069 MB / 1.302 GB, free: 9.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/1.423, allocations: 50.69 kB / 1.302 GB, free: 9.527 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 4.107e-06/1.423, allocations: 4 kB / 1.302 GB, free: 9.523 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.0123/1.435, allocations: 3.277 MB / 1.306 GB, free: 8.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/1.435, allocations: 66.73 kB / 1.306 GB, free: 8.777 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.445, allocations: 3.476 MB / 1.309 GB, free: 8.445 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0008576/1.446, allocations: 57.36 kB / 1.309 GB, free: 8.414 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002472/1.449, allocations: 1.788 MB / 1.311 GB, free: 7.961 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/1.45, allocations: 368 kB / 1.311 GB, free: 7.727 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002262/1.452, allocations: 469.2 kB / 1.312 GB, free: 7.699 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.933e-05/1.452, allocations: 306.4 kB / 1.312 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/1.456, allocations: 1.271 MB / 1.313 GB, free: 7.375 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003637/1.459, allocations: 1.969 MB / 1.315 GB, free: 6.535 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006252/1.466, allocations: 3.109 MB / 1.318 GB, free: 5.816 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.795e-05/1.466, allocations: 6.281 kB / 1.318 GB, free: 5.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00927/1.475, allocations: 3.944 MB / 1.322 GB, free: 5.492 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.475, allocations: 10.41 kB / 1.322 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-05/1.475, allocations: 22.53 kB / 1.322 GB, free: 5.492 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/1.477, allocations: 0.721 MB / 1.323 GB, free: 5.453 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.479, allocations: 460.4 kB / 1.323 GB, free: 5.449 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/1.481, allocations: 2.757 MB / 1.326 GB, free: 19.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003949/1.485, allocations: 303.5 kB / 1.326 GB, free: 19.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005647/1.486, allocations: 155.7 kB / 1.326 GB, free: 19.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004484/1.49, allocations: 1.752 MB / 1.328 GB, free: 19.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002975/1.493, allocations: 1.78 MB / 1.33 GB, free: 18.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005884/1.499, allocations: 2.724 MB / 1.332 GB, free: 17.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.292e-05/1.499, allocations: 6.906 kB / 1.332 GB, free: 17.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.01013/1.509, allocations: 3.626 MB / 1.336 GB, free: 17.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/1.51, allocations: 13.97 kB / 1.336 GB, free: 17.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-05/1.51, allocations: 20.78 kB / 1.336 GB, free: 17.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0029/1.512, allocations: 0.8578 MB / 1.337 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/1.514, allocations: 439.1 kB / 1.337 GB, free: 17.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/1.533, allocations: 13.8 MB / 1.351 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00422/1.537, allocations: 229.7 kB / 1.351 GB, free: 10.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000689/1.538, allocations: 136.1 kB / 1.351 GB, free: 10.27 MB / 1.029 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.001127/1.539, allocations: 299 kB / 1.351 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00145/1.54, allocations: 361 kB / 1.352 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008063/1.548, allocations: 2.815 MB / 1.355 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/1.548, allocations: 18 kB / 1.355 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/1.548, allocations: 2.469 kB / 1.355 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/1.548, allocations: 7.453 kB / 1.355 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/1.563, allocations: 5.053 MB / 1.359 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.563, allocations: 6.094 kB / 1.359 GB, free: 6.816 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/1.565, allocations: 274.2 kB / 1.36 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/1.566, allocations: 387.1 kB / 1.36 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/1.566, allocations: 48.84 kB / 1.36 GB, free: 6.664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/1.568, allocations: 2.633 MB / 1.363 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.568, allocations: 0 / 1.363 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006675/1.575, allocations: 2.569 MB / 1.365 GB, free: 2.949 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/1.577, allocations: 0.6213 MB / 1.366 GB, free: 2.438 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001422/1.578, allocations: 27.86 kB / 1.366 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002965/1.581, allocations: 120.7 kB / 1.366 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/1.582, allocations: 91.5 kB / 1.366 GB, free: 2.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/1.582, allocations: 65.69 kB / 1.366 GB, free: 2.293 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.005538/1.587, allocations: 2.324 MB / 1.368 GB, free: 1.055 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.31e-07/1.587, allocations: 0 / 1.368 GB, free: 1.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01021/1.598, allocations: 1.797 MB / 1.37 GB, free: 0.6719 MB / 1.029 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.002918/1.601, allocations: 0.7648 MB / 1.371 GB, free: 356 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.613, allocations: 4.735 MB / 1.376 GB, free: 14.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/1.613, allocations: 1.312 kB / 1.376 GB, free: 14.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002838/1.616, allocations: 0.9829 MB / 1.376 GB, free: 13.48 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/1.626, allocations: 1.75 MB / 1.378 GB, free: 11.76 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.64, allocations: 6.071 MB / 1.384 GB, free: 5.672 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/1.643, allocations: 2.247 MB / 1.386 GB, free: 3.398 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.004545/1.648, allocations: 0.8825 MB / 1.387 GB, free: 2.523 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.649, allocations: 283.3 kB / 1.387 GB, free: 2.25 MB / 1.045 GB Notification: Performance of SimCode: time 9.82e-07/1.649, allocations: 3.938 kB / 1.387 GB, free: 2.246 MB / 1.045 GB Notification: Performance of Templates: time 0.133/1.782, allocations: 80.65 MB / 1.466 GB, free: 3.18 MB / 1.123 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