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.007819/0.007819, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001678/0.001678, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.521/2.521, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 73.92 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3199, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.09869/0.4187, allocations: 105 MB / 1.19 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04796/0.4667, allocations: 32.95 MB / 1.223 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007431/0.4741, allocations: 159.1 kB / 1.223 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006639/0.4808, allocations: 2.011 MB / 1.225 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01765/0.4986, allocations: 5.024 MB / 1.23 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01102/0.5096, allocations: 3.918 MB / 1.233 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0154/0.525, allocations: 9.567 MB / 1.243 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006227/0.5313, allocations: 3.527 MB / 1.246 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009989/0.5413, allocations: 4.115 MB / 1.25 GB, free: 10.73 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005414/0.5467, allocations: 3.046 MB / 1.253 GB, free: 7.676 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009219/0.5477, allocations: 412 kB / 1.254 GB, free: 7.273 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006202/0.5539, allocations: 2.64 MB / 1.256 GB, free: 4.629 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002119/0.556, allocations: 1.328 MB / 1.257 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004037/0.5601, allocations: 2.359 MB / 1.26 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.72/1.28, allocations: 7.438 MB / 1.267 GB, free: 21.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/1.28, allocations: 0 / 1.267 GB, free: 21.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.395e-06/1.28, allocations: 1.156 kB / 1.267 GB, free: 21.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002955/1.28, allocations: 0 / 1.267 GB, free: 21.74 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.01768/1.298, allocations: 5.071 MB / 1.272 GB, free: 19.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.298, allocations: 14.12 kB / 1.272 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/1.309, allocations: 1.518 MB / 1.274 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/1.324, allocations: 4.395 MB / 1.278 GB, free: 18.33 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/1.324, allocations: 180.2 kB / 1.278 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/1.326, allocations: 232.3 kB / 1.278 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007517/1.333, allocations: 2.844 MB / 1.281 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.901e-05/1.333, allocations: 2.156 kB / 1.281 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/1.333, allocations: 84.78 kB / 1.281 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.896e-05/1.334, allocations: 51.59 kB / 1.281 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005879/1.339, allocations: 2.146 MB / 1.283 GB, free: 17.92 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.02158/1.361, allocations: 12.82 MB / 1.296 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/1.365, allocations: 1.686 MB / 1.297 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/1.367, allocations: 0.7936 MB / 1.298 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007581/1.375, allocations: 4.076 MB / 1.302 GB, free: 9.477 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/1.375, allocations: 51.28 kB / 1.302 GB, free: 9.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.026e-06/1.375, allocations: 3.75 kB / 1.302 GB, free: 9.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=107): time 0.01065/1.386, allocations: 3.273 MB / 1.305 GB, free: 8.746 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/1.386, allocations: 67.2 kB / 1.305 GB, free: 8.684 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007072/1.393, allocations: 3.477 MB / 1.309 GB, free: 8.352 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000789/1.394, allocations: 59.17 kB / 1.309 GB, free: 8.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/1.395, allocations: 1.784 MB / 1.311 GB, free: 7.867 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006611/1.396, allocations: 371.2 kB / 1.311 GB, free: 7.633 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008873/1.397, allocations: 472.4 kB / 1.311 GB, free: 7.602 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 6.52e-05/1.397, allocations: 304.4 kB / 1.312 GB, free: 7.305 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/1.4, allocations: 1.272 MB / 1.313 GB, free: 7.277 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/1.403, allocations: 1.962 MB / 1.315 GB, free: 6.441 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005709/1.409, allocations: 3.111 MB / 1.318 GB, free: 5.723 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-05/1.409, allocations: 10.19 kB / 1.318 GB, free: 5.723 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.008366/1.417, allocations: 3.936 MB / 1.322 GB, free: 5.398 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/1.417, allocations: 13.91 kB / 1.322 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/1.417, allocations: 16.41 kB / 1.322 GB, free: 5.398 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/1.419, allocations: 0.7351 MB / 1.323 GB, free: 5.359 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.421, allocations: 460.6 kB / 1.323 GB, free: 5.352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/1.423, allocations: 2.758 MB / 1.326 GB, free: 3.258 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004389/1.427, allocations: 296.8 kB / 1.326 GB, free: 3.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005952/1.428, allocations: 158.3 kB / 1.326 GB, free: 3.133 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005351/1.433, allocations: 1.757 MB / 1.328 GB, free: 19.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002677/1.436, allocations: 1.774 MB / 1.33 GB, free: 18.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0045/1.441, allocations: 2.727 MB / 1.332 GB, free: 17.48 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.51e-05/1.441, allocations: 10.53 kB / 1.332 GB, free: 17.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.008448/1.449, allocations: 3.619 MB / 1.336 GB, free: 17.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.449, allocations: 13.66 kB / 1.336 GB, free: 17.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/1.449, allocations: 20.53 kB / 1.336 GB, free: 17.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/1.452, allocations: 0.8674 MB / 1.337 GB, free: 17.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.454, allocations: 431.9 kB / 1.337 GB, free: 17.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/1.471, allocations: 13.79 MB / 1.351 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/1.475, allocations: 232.8 kB / 1.351 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006841/1.476, allocations: 134.1 kB / 1.351 GB, free: 10.14 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.0008776/1.477, allocations: 299.5 kB / 1.351 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.478, allocations: 356 kB / 1.351 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007257/1.486, allocations: 2.819 MB / 1.354 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/1.486, allocations: 16.95 kB / 1.354 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.486, allocations: 0 / 1.354 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.486, allocations: 10.22 kB / 1.354 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/1.498, allocations: 5.054 MB / 1.359 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.498, allocations: 7.844 kB / 1.359 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.5, allocations: 275.8 kB / 1.359 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/1.501, allocations: 381.6 kB / 1.36 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.501, allocations: 54.03 kB / 1.36 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/1.503, allocations: 2.631 MB / 1.362 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.503, allocations: 0 / 1.362 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006909/1.51, allocations: 2.577 MB / 1.365 GB, free: 2.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/1.512, allocations: 0.6123 MB / 1.366 GB, free: 2.316 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008482/1.513, allocations: 27.73 kB / 1.366 GB, free: 2.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00211/1.515, allocations: 127 kB / 1.366 GB, free: 2.238 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/1.516, allocations: 87.38 kB / 1.366 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/1.516, allocations: 69.84 kB / 1.366 GB, free: 2.172 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.004387/1.52, allocations: 2.326 MB / 1.368 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.52, allocations: 0 / 1.368 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01018/1.53, allocations: 1.796 MB / 1.37 GB, free: 0.5508 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.002833/1.533, allocations: 0.7535 MB / 1.371 GB, free: 236 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.546, allocations: 4.734 MB / 1.375 GB, free: 13.96 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.546, allocations: 0 / 1.375 GB, free: 13.96 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002839/1.548, allocations: 0.9762 MB / 1.376 GB, free: 13.31 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01056/1.559, allocations: 1.764 MB / 1.378 GB, free: 11.57 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/1.574, allocations: 6.062 MB / 1.384 GB, free: 5.492 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002151/1.576, allocations: 2.252 MB / 1.386 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.004264/1.58, allocations: 0.8831 MB / 1.387 GB, free: 2.336 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008715/1.581, allocations: 275.3 kB / 1.387 GB, free: 2.07 MB / 1.045 GB Notification: Performance of SimCode: time 9.62e-07/1.581, allocations: 5.531 kB / 1.387 GB, free: 2.066 MB / 1.045 GB Notification: Performance of Templates: time 0.14/1.721, allocations: 82.29 MB / 1.468 GB, free: 1.355 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