Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 103.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 443.5 MB / 0.731 GB, free: 13.99 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=503,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=503,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 71.89 kB / 1.06 GB, free: 0.582 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3786, allocations: 160.7 MB / 1.217 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.6919/1.07, allocations: 107.2 MB / 1.321 GB, free: 6.543 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.05814/1.129, allocations: 35.54 MB / 1.356 GB, free: 13.26 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008472/1.137, allocations: 162.2 kB / 1.356 GB, free: 13.2 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.009998/1.147, allocations: 2.978 MB / 1.359 GB, free: 11.69 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01869/1.166, allocations: 5.796 MB / 1.365 GB, free: 8.309 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01192/1.178, allocations: 4.193 MB / 1.369 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.05367/1.231, allocations: 32.91 MB / 1.401 GB, free: 3.723 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006764/1.238, allocations: 3.106 MB / 1.404 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/1.25, allocations: 4.439 MB / 1.408 GB, free: 12.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007429/1.257, allocations: 3.623 MB / 1.412 GB, free: 8.461 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001834/1.259, allocations: 480 kB / 1.412 GB, free: 7.992 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008661/1.268, allocations: 3.073 MB / 1.415 GB, free: 4.914 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003046/1.271, allocations: 2.001 MB / 1.417 GB, free: 2.906 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005659/1.277, allocations: 3.098 MB / 1.42 GB, free: 15.79 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01705/1.294, allocations: 9.5 MB / 1.43 GB, free: 6.258 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.294, allocations: 0 / 1.43 GB, free: 6.258 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.633e-06/1.294, allocations: 4 kB / 1.43 GB, free: 6.254 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002207/1.294, allocations: 0 / 1.43 GB, free: 6.254 MB / 1.092 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.0158/1.31, allocations: 6.693 MB / 1.436 GB, free: 15.43 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.31, allocations: 11.98 kB / 1.436 GB, free: 15.42 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01165/1.321, allocations: 1.939 MB / 1.438 GB, free: 13.47 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/1.34, allocations: 7.666 MB / 1.445 GB, free: 5.723 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/1.341, allocations: 188.3 kB / 1.446 GB, free: 5.535 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008757/1.342, allocations: 244 kB / 1.446 GB, free: 5.297 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007269/1.349, allocations: 3.411 MB / 1.449 GB, free: 1.742 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/1.349, allocations: 3.984 kB / 1.449 GB, free: 1.738 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/1.349, allocations: 88 kB / 1.449 GB, free: 1.652 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/1.349, allocations: 56 kB / 1.449 GB, free: 1.598 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00675/1.356, allocations: 2.573 MB / 1.452 GB, free: 15.01 MB / 1.123 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.02699/1.383, allocations: 15.28 MB / 1.467 GB, free: 14.82 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006181/1.389, allocations: 2.32 MB / 1.469 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002536/1.392, allocations: 0.9827 MB / 1.47 GB, free: 11.52 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/1.402, allocations: 5.44 MB / 1.475 GB, free: 5.75 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/1.402, allocations: 47.56 kB / 1.475 GB, free: 5.695 MB / 1.139 GB Notification: Performance of pre-optimization done (n=115): time 3.006e-06/1.402, allocations: 4 kB / 1.475 GB, free: 5.691 MB / 1.139 GB Notification: Performance of matching and sorting (n=115): time 0.0131/1.415, allocations: 4.241 MB / 1.48 GB, free: 1.355 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.415, allocations: 68.39 kB / 1.48 GB, free: 1.277 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009955/1.425, allocations: 5.729 MB / 1.485 GB, free: 11.55 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005438/1.426, allocations: 61.7 kB / 1.485 GB, free: 11.48 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002407/1.428, allocations: 2.317 MB / 1.488 GB, free: 9.152 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007467/1.429, allocations: 444.4 kB / 1.488 GB, free: 8.715 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/1.43, allocations: 0.9079 MB / 1.489 GB, free: 7.801 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.43, allocations: 313 kB / 1.489 GB, free: 7.492 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/1.435, allocations: 2.895 MB / 1.492 GB, free: 4.59 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006068/1.442, allocations: 3.785 MB / 1.496 GB, free: 480 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.452, allocations: 6.174 MB / 1.502 GB, free: 10.02 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-05/1.452, allocations: 8 kB / 1.502 GB, free: 10.02 MB / 1.17 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01427/1.466, allocations: 7.82 MB / 1.509 GB, free: 2.152 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/1.466, allocations: 12 kB / 1.509 GB, free: 2.141 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/1.466, allocations: 20 kB / 1.509 GB, free: 2.121 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00229/1.469, allocations: 0.9682 MB / 1.51 GB, free: 1.141 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/1.472, allocations: 0.6825 MB / 1.511 GB, free: 468 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/1.475, allocations: 2.967 MB / 1.514 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004429/1.479, allocations: 493.2 kB / 1.514 GB, free: 12.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005679/1.48, allocations: 223.9 kB / 1.515 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006456/1.486, allocations: 3.521 MB / 1.518 GB, free: 9.156 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005087/1.491, allocations: 3.302 MB / 1.521 GB, free: 5.523 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008537/1.5, allocations: 5.22 MB / 1.526 GB, free: 28 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.471e-05/1.5, allocations: 8 kB / 1.526 GB, free: 20 kB / 1.186 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01434/1.514, allocations: 6.933 MB / 1.533 GB, free: 9.047 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/1.514, allocations: 15.94 kB / 1.533 GB, free: 9.031 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/1.514, allocations: 20 kB / 1.533 GB, free: 9.012 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003327/1.517, allocations: 1.089 MB / 1.534 GB, free: 7.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/1.52, allocations: 0.6474 MB / 1.535 GB, free: 7.262 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/1.544, allocations: 16.53 MB / 1.551 GB, free: 6.047 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/1.548, allocations: 398.7 kB / 1.551 GB, free: 5.656 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005879/1.549, allocations: 191.9 kB / 1.552 GB, free: 5.469 MB / 1.217 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.0009632/1.55, allocations: 335.4 kB / 1.552 GB, free: 5.133 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/1.551, allocations: 0.5121 MB / 1.552 GB, free: 4.617 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009212/1.561, allocations: 3.526 MB / 1.556 GB, free: 1.07 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.777e-05/1.561, allocations: 20 kB / 1.556 GB, free: 1.051 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/1.561, allocations: 3.938 kB / 1.556 GB, free: 1.047 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/1.561, allocations: 7.969 kB / 1.556 GB, free: 1.039 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/1.577, allocations: 6.522 MB / 1.562 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.577, allocations: 0 / 1.562 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.579, allocations: 315.6 kB / 1.562 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/1.58, allocations: 459 kB / 1.563 GB, free: 9.656 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/1.58, allocations: 47.95 kB / 1.563 GB, free: 9.609 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/1.583, allocations: 2.815 MB / 1.566 GB, free: 6.691 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.583, allocations: 0 / 1.566 GB, free: 6.691 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008314/1.591, allocations: 3.299 MB / 1.569 GB, free: 3.348 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00251/1.593, allocations: 0.8406 MB / 1.57 GB, free: 2.484 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/1.595, allocations: 28 kB / 1.57 GB, free: 2.457 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.598, allocations: 163.8 kB / 1.57 GB, free: 2.297 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.598, allocations: 101.1 kB / 1.57 GB, free: 2.195 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/1.598, allocations: 95.92 kB / 1.57 GB, free: 2.102 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.007878/1.606, allocations: 3.798 MB / 1.574 GB, free: 14.31 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.606, allocations: 0 / 1.574 GB, free: 14.31 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.008521/1.614, allocations: 2.418 MB / 1.576 GB, free: 11.89 MB / 1.248 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.002377/1.617, allocations: 0.9446 MB / 1.577 GB, free: 10.95 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01685/1.634, allocations: 7.807 MB / 1.585 GB, free: 3.094 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.634, allocations: 0 / 1.585 GB, free: 3.094 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.003188/1.637, allocations: 1.145 MB / 1.586 GB, free: 1.949 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01051/1.647, allocations: 2.54 MB / 1.588 GB, free: 15.48 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/1.665, allocations: 9.015 MB / 1.597 GB, free: 6.41 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/1.668, allocations: 2.914 MB / 1.6 GB, free: 3.461 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/1.67, allocations: 411.2 kB / 1.6 GB, free: 3.062 MB / 1.264 GB Notification: Performance of SimCode: time 1.392e-06/1.67, allocations: 0 / 1.6 GB, free: 3.062 MB / 1.264 GB Notification: Performance of Templates: time 0.2358/1.906, allocations: 178.5 MB / 1.775 GB, free: 1.055 MB / 1.436 GB [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches