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.001146/0.001146, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001189/0.001189, allocations: 187 kB / 17.34 MB, free: 5.719 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.24/2.24, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 67.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9954/0.9968, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1285/1.125, allocations: 105 MB / 1.191 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.05926/1.185, allocations: 32.95 MB / 1.223 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01064/1.195, allocations: 158.6 kB / 1.223 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008221/1.204, allocations: 2.012 MB / 1.225 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01901/1.223, allocations: 5.027 MB / 1.23 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01336/1.236, allocations: 3.899 MB / 1.234 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02094/1.257, allocations: 9.573 MB / 1.243 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008965/1.266, allocations: 3.527 MB / 1.247 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01412/1.28, allocations: 4.115 MB / 1.251 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007957/1.288, allocations: 3.05 MB / 1.254 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00257/1.291, allocations: 416 kB / 1.254 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009226/1.3, allocations: 2.632 MB / 1.257 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002914/1.303, allocations: 1.324 MB / 1.258 GB, free: 176 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.006657/1.31, allocations: 2.355 MB / 1.26 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01667/1.326, allocations: 7.456 MB / 1.268 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/1.326, allocations: 0 / 1.268 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.326, allocations: 0 / 1.268 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002688/1.327, allocations: 0 / 1.268 GB, free: 6.328 MB / 0.9981 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.01487/1.342, allocations: 5.075 MB / 1.273 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.342, allocations: 8.031 kB / 1.273 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009486/1.351, allocations: 1.521 MB / 1.274 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/1.364, allocations: 4.395 MB / 1.279 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/1.365, allocations: 176.2 kB / 1.279 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/1.366, allocations: 236 kB / 1.279 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008617/1.375, allocations: 2.835 MB / 1.282 GB, free: 7.777 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-05/1.375, allocations: 4 kB / 1.282 GB, free: 7.773 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005811/1.375, allocations: 84 kB / 1.282 GB, free: 7.691 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/1.375, allocations: 52 kB / 1.282 GB, free: 7.641 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006806/1.382, allocations: 2.139 MB / 1.284 GB, free: 5.5 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.02409/1.406, allocations: 12.84 MB / 1.296 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/1.411, allocations: 1.68 MB / 1.298 GB, free: 6.105 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002175/1.413, allocations: 0.7961 MB / 1.299 GB, free: 5.305 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008671/1.422, allocations: 4.078 MB / 1.303 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/1.422, allocations: 47.56 kB / 1.303 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 2.866e-06/1.422, allocations: 0 / 1.303 GB, free: 0.8477 MB / 1.029 GB Notification: Performance of matching and sorting (n=107): time 0.01091/1.433, allocations: 3.287 MB / 1.306 GB, free: 13.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/1.433, allocations: 68.41 kB / 1.306 GB, free: 13.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007493/1.441, allocations: 3.471 MB / 1.31 GB, free: 9.898 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0005285/1.441, allocations: 61.7 kB / 1.31 GB, free: 9.832 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002005/1.443, allocations: 1.781 MB / 1.311 GB, free: 8.039 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007357/1.444, allocations: 370.6 kB / 1.312 GB, free: 7.672 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001254/1.445, allocations: 471.1 kB / 1.312 GB, free: 7.203 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.445, allocations: 305.1 kB / 1.312 GB, free: 6.902 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.448, allocations: 1.277 MB / 1.314 GB, free: 5.621 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003551/1.452, allocations: 1.972 MB / 1.316 GB, free: 3.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006487/1.458, allocations: 3.104 MB / 1.319 GB, free: 15.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-05/1.458, allocations: 11.94 kB / 1.319 GB, free: 15.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.009377/1.468, allocations: 3.933 MB / 1.322 GB, free: 12.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/1.468, allocations: 12 kB / 1.322 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/1.468, allocations: 20 kB / 1.323 GB, free: 11.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/1.47, allocations: 0.7295 MB / 1.323 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002172/1.472, allocations: 455.2 kB / 1.324 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/1.475, allocations: 2.756 MB / 1.326 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004447/1.479, allocations: 305.8 kB / 1.327 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006791/1.48, allocations: 151.9 kB / 1.327 GB, free: 7.492 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005297/1.485, allocations: 1.749 MB / 1.328 GB, free: 5.738 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003235/1.489, allocations: 1.769 MB / 1.33 GB, free: 3.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005512/1.494, allocations: 2.742 MB / 1.333 GB, free: 0.668 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.96e-05/1.494, allocations: 4 kB / 1.333 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.009739/1.504, allocations: 3.62 MB / 1.336 GB, free: 13.02 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/1.504, allocations: 18.03 kB / 1.336 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/1.504, allocations: 16 kB / 1.336 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0029/1.507, allocations: 0.8624 MB / 1.337 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/1.509, allocations: 431.3 kB / 1.338 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/1.528, allocations: 13.81 MB / 1.351 GB, free: 13.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/1.532, allocations: 226.9 kB / 1.351 GB, free: 12.98 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000569/1.533, allocations: 132 kB / 1.352 GB, free: 12.85 MB / 1.092 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.001026/1.534, allocations: 292.2 kB / 1.352 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/1.535, allocations: 367.2 kB / 1.352 GB, free: 12.19 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007944/1.543, allocations: 2.813 MB / 1.355 GB, free: 9.352 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.543, allocations: 15.98 kB / 1.355 GB, free: 9.336 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.543, allocations: 0 / 1.355 GB, free: 9.336 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/1.543, allocations: 3.984 kB / 1.355 GB, free: 9.332 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.556, allocations: 5.061 MB / 1.36 GB, free: 4.184 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/1.556, allocations: 4 kB / 1.36 GB, free: 4.18 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.557, allocations: 279.7 kB / 1.36 GB, free: 3.906 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009709/1.558, allocations: 386.9 kB / 1.361 GB, free: 3.516 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/1.558, allocations: 51.95 kB / 1.361 GB, free: 3.465 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/1.561, allocations: 2.627 MB / 1.363 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.561, allocations: 256 / 1.363 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006569/1.567, allocations: 2.574 MB / 1.366 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.569, allocations: 0.617 MB / 1.366 GB, free: 13.46 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009894/1.57, allocations: 31.94 kB / 1.366 GB, free: 13.43 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002469/1.573, allocations: 123.9 kB / 1.366 GB, free: 13.31 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.573, allocations: 85.19 kB / 1.366 GB, free: 13.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.573, allocations: 79.88 kB / 1.367 GB, free: 13.15 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.005283/1.578, allocations: 2.326 MB / 1.369 GB, free: 10.82 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.578, allocations: 0 / 1.369 GB, free: 10.82 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.007632/1.586, allocations: 1.793 MB / 1.371 GB, free: 9.027 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 (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.002377/1.588, allocations: 0.7597 MB / 1.371 GB, free: 8.27 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01204/1.6, allocations: 4.731 MB / 1.376 GB, free: 3.492 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/1.6, allocations: 0 / 1.376 GB, free: 3.492 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002928/1.603, allocations: 0.9847 MB / 1.377 GB, free: 2.508 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00908/1.612, allocations: 1.757 MB / 1.379 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/1.626, allocations: 6.218 MB / 1.385 GB, free: 10.52 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002806/1.629, allocations: 2.238 MB / 1.387 GB, free: 8.246 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.63, allocations: 303.3 kB / 1.387 GB, free: 7.949 MB / 1.123 GB Notification: Performance of SimCode: time 1.402e-06/1.63, allocations: 0 / 1.387 GB, free: 7.949 MB / 1.123 GB Notification: Performance of Templates: time 0.1626/1.793, allocations: 132.5 MB / 1.517 GB, free: 3.914 MB / 1.248 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