Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 112.4 kB / 17.13 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.845/2.845, allocations: 0.49 GB / 0.7923 GB, free: 1.402 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ddp_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ddp_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9587/0.9607, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08171/1.042, allocations: 80.35 MB / 1.4 GB, free: 15.54 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.04958/1.092, allocations: 28.57 MB / 1.428 GB, free: 11.26 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007197/1.099, allocations: 167.1 kB / 1.428 GB, free: 11.18 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.009771/1.109, allocations: 2.693 MB / 1.431 GB, free: 9.895 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01406/1.123, allocations: 4.013 MB / 1.435 GB, free: 7.555 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01081/1.134, allocations: 3.25 MB / 1.438 GB, free: 5.812 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0294/1.163, allocations: 16.83 MB / 1.455 GB, free: 13 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005121/1.168, allocations: 2.284 MB / 1.457 GB, free: 11.32 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009416/1.178, allocations: 3.349 MB / 1.46 GB, free: 9.328 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005884/1.184, allocations: 2.636 MB / 1.463 GB, free: 7.617 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001317/1.185, allocations: 361.2 kB / 1.463 GB, free: 7.617 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007449/1.192, allocations: 2.444 MB / 1.465 GB, free: 6.449 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.003052/1.195, allocations: 1.836 MB / 1.467 GB, free: 4.684 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.005129/1.201, allocations: 2.635 MB / 1.47 GB, free: 2.035 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01479/1.215, allocations: 7.912 MB / 1.478 GB, free: 10.09 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.215, allocations: 0 / 1.478 GB, free: 10.09 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.233e-06/1.215, allocations: 0 / 1.478 GB, free: 10.09 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002315/1.216, allocations: 4 kB / 1.478 GB, free: 10.09 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01281/1.228, allocations: 5.791 MB / 1.483 GB, free: 4.195 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.229, allocations: 11.98 kB / 1.483 GB, free: 4.184 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00936/1.238, allocations: 1.569 MB / 1.485 GB, free: 2.609 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/1.254, allocations: 7.445 MB / 1.492 GB, free: 11.1 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/1.254, allocations: 143.2 kB / 1.492 GB, free: 10.96 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/1.254, allocations: 187.9 kB / 1.492 GB, free: 10.78 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005471/1.26, allocations: 2.607 MB / 1.495 GB, free: 8.074 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/1.26, allocations: 7.938 kB / 1.495 GB, free: 8.066 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/1.26, allocations: 68 kB / 1.495 GB, free: 8 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/1.26, allocations: 40 kB / 1.495 GB, free: 7.961 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005558/1.266, allocations: 2.014 MB / 1.497 GB, free: 5.941 MB / 1.17 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.02001/1.286, allocations: 11.47 MB / 1.508 GB, free: 9.957 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006096/1.292, allocations: 1.751 MB / 1.51 GB, free: 8.195 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002229/1.294, allocations: 0.7739 MB / 1.511 GB, free: 7.422 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007968/1.302, allocations: 4.117 MB / 1.515 GB, free: 3.031 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/1.302, allocations: 43.22 kB / 1.515 GB, free: 2.98 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/1.302, allocations: 0 / 1.515 GB, free: 2.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.009145/1.311, allocations: 2.859 MB / 1.517 GB, free: 96 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/1.311, allocations: 64.05 kB / 1.518 GB, free: 16 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/1.321, allocations: 5.678 MB / 1.523 GB, free: 10.36 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004976/1.322, allocations: 53.7 kB / 1.523 GB, free: 10.3 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002252/1.324, allocations: 2.049 MB / 1.525 GB, free: 8.238 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005678/1.325, allocations: 325.3 kB / 1.525 GB, free: 7.918 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/1.326, allocations: 0.6974 MB / 1.526 GB, free: 7.211 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.326, allocations: 301.1 kB / 1.526 GB, free: 6.914 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003927/1.33, allocations: 2.047 MB / 1.528 GB, free: 4.855 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004904/1.335, allocations: 2.938 MB / 1.531 GB, free: 1.566 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008421/1.343, allocations: 4.613 MB / 1.536 GB, free: 12.66 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-05/1.343, allocations: 8 kB / 1.536 GB, free: 12.65 MB / 1.217 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01217/1.355, allocations: 5.637 MB / 1.541 GB, free: 7 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/1.356, allocations: 16.03 kB / 1.541 GB, free: 6.984 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.175e-05/1.356, allocations: 23.98 kB / 1.541 GB, free: 6.961 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009332/1.356, allocations: 412.6 kB / 1.542 GB, free: 6.555 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/1.359, allocations: 0.5851 MB / 1.542 GB, free: 5.969 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/1.36, allocations: 0.9074 MB / 1.543 GB, free: 5.035 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/1.364, allocations: 426.5 kB / 1.544 GB, free: 4.617 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/1.365, allocations: 155.9 kB / 1.544 GB, free: 4.465 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005662/1.37, allocations: 2.862 MB / 1.547 GB, free: 1.598 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0045/1.375, allocations: 2.711 MB / 1.549 GB, free: 14.54 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007494/1.382, allocations: 4.173 MB / 1.553 GB, free: 10.06 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.998e-05/1.382, allocations: 8 kB / 1.553 GB, free: 10.05 MB / 1.232 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01118/1.394, allocations: 5.211 MB / 1.558 GB, free: 4.828 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/1.394, allocations: 20.06 kB / 1.558 GB, free: 4.809 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/1.394, allocations: 20 kB / 1.558 GB, free: 4.789 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/1.395, allocations: 452.5 kB / 1.559 GB, free: 4.344 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/1.397, allocations: 0.5694 MB / 1.559 GB, free: 3.773 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008645/1.406, allocations: 6.122 MB / 1.565 GB, free: 13.43 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004673/1.411, allocations: 326.5 kB / 1.566 GB, free: 13.11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007245/1.411, allocations: 148 kB / 1.566 GB, free: 12.97 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (281): * Single equations (assignments): 274 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0009974/1.412, allocations: 327.4 kB / 1.566 GB, free: 12.64 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/1.414, allocations: 460.8 kB / 1.567 GB, free: 12.19 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007756/1.422, allocations: 2.5 MB / 1.569 GB, free: 9.672 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/1.422, allocations: 19.92 kB / 1.569 GB, free: 9.652 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.422, allocations: 0 / 1.569 GB, free: 9.652 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/1.422, allocations: 11.91 kB / 1.569 GB, free: 9.641 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/1.434, allocations: 5.203 MB / 1.574 GB, free: 4.363 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.434, allocations: 0 / 1.574 GB, free: 4.363 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/1.436, allocations: 279.7 kB / 1.574 GB, free: 4.09 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004077/1.437, allocations: 164.6 kB / 1.575 GB, free: 3.926 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/1.437, allocations: 35.95 kB / 1.575 GB, free: 3.891 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008669/1.438, allocations: 0.8061 MB / 1.575 GB, free: 3.059 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.438, allocations: 7.938 kB / 1.575 GB, free: 3.051 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009221/1.447, allocations: 3.481 MB / 1.579 GB, free: 15.54 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/1.449, allocations: 0.7747 MB / 1.58 GB, free: 14.74 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/1.45, allocations: 20 kB / 1.58 GB, free: 14.72 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002711/1.453, allocations: 143.8 kB / 1.58 GB, free: 14.58 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.453, allocations: 68.91 kB / 1.58 GB, free: 14.51 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/1.453, allocations: 59.94 kB / 1.58 GB, free: 14.45 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.007304/1.461, allocations: 3.856 MB / 1.584 GB, free: 10.62 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.9e-07/1.461, allocations: 0 / 1.584 GB, free: 10.62 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.006919/1.467, allocations: 1.965 MB / 1.585 GB, free: 8.656 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dy.x,dm_flow_dy.x) * 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 (96): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001859/1.469, allocations: 0.7864 MB / 1.586 GB, free: 7.859 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01165/1.481, allocations: 5.456 MB / 1.592 GB, free: 2.398 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.481, allocations: 0 / 1.592 GB, free: 2.398 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002605/1.484, allocations: 0.853 MB / 1.592 GB, free: 1.551 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009711/1.493, allocations: 2.42 MB / 1.595 GB, free: 15.19 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/1.51, allocations: 8.046 MB / 1.603 GB, free: 7.086 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/1.512, allocations: 2.648 MB / 1.605 GB, free: 4.398 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/1.514, allocations: 371.2 kB / 1.606 GB, free: 4.039 MB / 1.279 GB Notification: Performance of SimCode: time 1.343e-06/1.514, allocations: 0 / 1.606 GB, free: 4.039 MB / 1.279 GB Notification: Performance of Templates: time 0.1469/1.661, allocations: 99.39 MB / 1.703 GB, free: 1.301 MB / 1.373 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 30.501336792003713]