Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 106 kB / 16.27 MB, free: 6.41 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.001228/0.001228, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.697/2.697, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 69.52 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7763, allocations: 162.2 MB / 1.083 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08794/0.8643, allocations: 79.41 MB / 1.16 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.04415/0.9085, allocations: 28.4 MB / 1.188 GB, free: 452 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006154/0.9147, allocations: 122.3 kB / 1.188 GB, free: 412 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.02101/0.9357, allocations: 11.55 MB / 1.2 GB, free: 7.191 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.9473, allocations: 3.75 MB / 1.203 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.008208/0.9556, allocations: 3.063 MB / 1.206 GB, free: 384 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02519/0.9808, allocations: 16.35 MB / 1.222 GB, free: 0 / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005669/0.9865, allocations: 2.692 MB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008385/0.9949, allocations: 3.193 MB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004559/0.9995, allocations: 2.419 MB / 1.23 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001407/1.001, allocations: 352 kB / 1.231 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00637/1.007, allocations: 2.336 MB / 1.233 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002489/1.01, allocations: 1.792 MB / 1.235 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.005157/1.015, allocations: 2.612 MB / 1.237 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01313/1.028, allocations: 7.668 MB / 1.245 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/1.028, allocations: 0 / 1.245 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.495e-06/1.028, allocations: 0 / 1.245 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002347/1.028, allocations: 0 / 1.245 GB, free: 8.824 MB / 0.9669 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.01266/1.041, allocations: 5.577 MB / 1.25 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.041, allocations: 15.97 kB / 1.25 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008756/1.05, allocations: 1.539 MB / 1.252 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/1.064, allocations: 7.084 MB / 1.259 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000513/1.065, allocations: 203.8 kB / 1.259 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005104/1.065, allocations: 192 kB / 1.259 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005567/1.071, allocations: 2.615 MB / 1.262 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/1.071, allocations: 7.938 kB / 1.262 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/1.071, allocations: 68 kB / 1.262 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/1.071, allocations: 40 kB / 1.262 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005583/1.077, allocations: 2.034 MB / 1.264 GB, free: 5.18 MB / 0.9825 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.01955/1.096, allocations: 11.5 MB / 1.275 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00612/1.103, allocations: 1.822 MB / 1.277 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/1.105, allocations: 0.8287 MB / 1.277 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00762/1.113, allocations: 4.093 MB / 1.281 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/1.113, allocations: 43.22 kB / 1.281 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.976e-06/1.113, allocations: 0 / 1.281 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.009/1.122, allocations: 2.868 MB / 1.284 GB, free: 15.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/1.122, allocations: 67.98 kB / 1.284 GB, free: 15.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009146/1.131, allocations: 5.482 MB / 1.29 GB, free: 9.652 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004034/1.131, allocations: 53.7 kB / 1.29 GB, free: 9.594 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.002101/1.133, allocations: 2.034 MB / 1.292 GB, free: 7.543 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005285/1.134, allocations: 303.7 kB / 1.292 GB, free: 7.242 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/1.135, allocations: 0.7088 MB / 1.293 GB, free: 6.523 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.135, allocations: 309.1 kB / 1.293 GB, free: 6.219 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003845/1.139, allocations: 2.051 MB / 1.295 GB, free: 4.156 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004765/1.144, allocations: 2.946 MB / 1.298 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008216/1.152, allocations: 4.636 MB / 1.302 GB, free: 11.92 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-05/1.152, allocations: 8 kB / 1.302 GB, free: 11.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01174/1.164, allocations: 5.626 MB / 1.308 GB, free: 6.277 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/1.164, allocations: 12 kB / 1.308 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/1.164, allocations: 20 kB / 1.308 GB, free: 6.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008676/1.165, allocations: 417.4 kB / 1.308 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/1.168, allocations: 0.5967 MB / 1.309 GB, free: 5.238 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/1.169, allocations: 0.9034 MB / 1.31 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003912/1.173, allocations: 414.6 kB / 1.31 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005607/1.173, allocations: 155.9 kB / 1.31 GB, free: 3.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006536/1.18, allocations: 2.879 MB / 1.313 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004614/1.184, allocations: 2.726 MB / 1.316 GB, free: 13.79 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007426/1.192, allocations: 4.184 MB / 1.32 GB, free: 9.301 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.081e-05/1.192, allocations: 8 kB / 1.32 GB, free: 9.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01091/1.203, allocations: 5.216 MB / 1.325 GB, free: 4.066 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/1.203, allocations: 23.97 kB / 1.325 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/1.203, allocations: 20 kB / 1.325 GB, free: 4.023 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.204, allocations: 448.6 kB / 1.326 GB, free: 3.582 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/1.206, allocations: 0.5772 MB / 1.326 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008704/1.215, allocations: 6.109 MB / 1.332 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004152/1.219, allocations: 343.2 kB / 1.332 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005365/1.22, allocations: 140 kB / 1.332 GB, free: 12.2 MB / 1.061 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.0006501/1.221, allocations: 326.6 kB / 1.333 GB, free: 11.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/1.222, allocations: 434.2 kB / 1.333 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007274/1.229, allocations: 2.547 MB / 1.336 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/1.229, allocations: 12 kB / 1.336 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.229, allocations: 0 / 1.336 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/1.229, allocations: 7.969 kB / 1.336 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/1.242, allocations: 5.199 MB / 1.341 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.242, allocations: 0 / 1.341 GB, free: 3.578 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/1.243, allocations: 283.6 kB / 1.341 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003893/1.244, allocations: 164.7 kB / 1.341 GB, free: 3.137 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.244, allocations: 31.97 kB / 1.341 GB, free: 3.105 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007884/1.245, allocations: 0.8061 MB / 1.342 GB, free: 2.273 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.245, allocations: 0 / 1.342 GB, free: 2.273 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009205/1.254, allocations: 3.506 MB / 1.345 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/1.256, allocations: 0.7487 MB / 1.346 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008492/1.257, allocations: 16 kB / 1.346 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/1.259, allocations: 155.8 kB / 1.346 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/1.259, allocations: 64.91 kB / 1.346 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.26, allocations: 51.95 kB / 1.346 GB, free: 13.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.006385/1.266, allocations: 3.711 MB / 1.35 GB, free: 9.992 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.9e-07/1.266, allocations: 0 / 1.35 GB, free: 9.992 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.005867/1.272, allocations: 1.931 MB / 1.352 GB, free: 8.059 MB / 1.076 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.00189/1.274, allocations: 0.8054 MB / 1.353 GB, free: 7.254 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.286, allocations: 5.901 MB / 1.359 GB, free: 1.355 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/1.286, allocations: 0 / 1.359 GB, free: 1.355 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002617/1.289, allocations: 0.9051 MB / 1.359 GB, free: 464 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009782/1.299, allocations: 2.416 MB / 1.362 GB, free: 14.1 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.315, allocations: 8.065 MB / 1.37 GB, free: 5.988 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.318, allocations: 2.644 MB / 1.372 GB, free: 3.312 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.319, allocations: 367.2 kB / 1.373 GB, free: 2.953 MB / 1.092 GB Notification: Performance of SimCode: time 1.082e-06/1.319, allocations: 0 / 1.373 GB, free: 2.953 MB / 1.092 GB Notification: Performance of Templates: time 0.1446/1.464, allocations: 98.38 MB / 1.469 GB, free: 1.172 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches