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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001458/0.001458, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.00188/0.00188, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.566/2.566, allocations: 469.4 MB / 0.7428 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 68.11 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7007/0.7021, allocations: 159.1 MB / 1.221 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07624/0.7784, allocations: 79.37 MB / 1.298 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03825/0.8166, allocations: 28.43 MB / 1.326 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00505/0.8217, allocations: 123.4 kB / 1.326 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.008015/0.8298, allocations: 2.64 MB / 1.329 GB, free: 3.438 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.8405, allocations: 3.981 MB / 1.333 GB, free: 15.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.007789/0.8483, allocations: 3.186 MB / 1.336 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.03227/0.8806, allocations: 22.53 MB / 1.358 GB, free: 5.711 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004855/0.8854, allocations: 2.742 MB / 1.361 GB, free: 2.906 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007489/0.8929, allocations: 3.207 MB / 1.364 GB, free: 15.7 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/0.8971, allocations: 2.569 MB / 1.366 GB, free: 13.12 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001155/0.8983, allocations: 376 kB / 1.367 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005898/0.9042, allocations: 2.36 MB / 1.369 GB, free: 10.39 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002708/0.9069, allocations: 1.811 MB / 1.371 GB, free: 8.57 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004447/0.9114, allocations: 2.647 MB / 1.373 GB, free: 5.91 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.9225, allocations: 7.866 MB / 1.381 GB, free: 14.02 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.9225, allocations: 0 / 1.381 GB, free: 14.02 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9226, allocations: 3.938 kB / 1.381 GB, free: 14.02 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.000225/0.9228, allocations: 0 / 1.381 GB, free: 14.02 MB / 1.107 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.01335/0.9361, allocations: 5.83 MB / 1.387 GB, free: 8.086 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.9362, allocations: 8.031 kB / 1.387 GB, free: 8.078 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008895/0.9451, allocations: 1.543 MB / 1.388 GB, free: 6.527 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.9591, allocations: 7.463 MB / 1.395 GB, free: 14.99 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.9593, allocations: 143.2 kB / 1.396 GB, free: 14.85 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005132/0.9598, allocations: 184 kB / 1.396 GB, free: 14.67 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005686/0.9655, allocations: 2.615 MB / 1.398 GB, free: 11.96 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.479e-05/0.9656, allocations: 4 kB / 1.398 GB, free: 11.96 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.9658, allocations: 64 kB / 1.398 GB, free: 11.89 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.9658, allocations: 43.94 kB / 1.398 GB, free: 11.85 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005532/0.9714, allocations: 2.014 MB / 1.4 GB, free: 9.832 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.0179/0.9893, allocations: 11.73 MB / 1.412 GB, free: 13.51 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005107/0.9944, allocations: 1.716 MB / 1.413 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/0.9965, allocations: 0.7928 MB / 1.414 GB, free: 11 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006851/1.003, allocations: 4.073 MB / 1.418 GB, free: 6.648 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/1.003, allocations: 43.22 kB / 1.418 GB, free: 6.598 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.635e-06/1.003, allocations: 0 / 1.418 GB, free: 6.598 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.00824/1.012, allocations: 2.786 MB / 1.421 GB, free: 3.781 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/1.012, allocations: 64 kB / 1.421 GB, free: 3.703 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008735/1.021, allocations: 5.682 MB / 1.427 GB, free: 14.04 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002179/1.021, allocations: 49.7 kB / 1.427 GB, free: 13.98 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001778/1.023, allocations: 2.031 MB / 1.429 GB, free: 11.94 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003715/1.023, allocations: 307.8 kB / 1.429 GB, free: 11.64 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/1.024, allocations: 0.6971 MB / 1.43 GB, free: 10.93 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 7.859e-05/1.024, allocations: 305.1 kB / 1.43 GB, free: 10.63 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003522/1.028, allocations: 2.035 MB / 1.432 GB, free: 8.582 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004097/1.032, allocations: 2.907 MB / 1.435 GB, free: 5.324 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007133/1.039, allocations: 4.585 MB / 1.439 GB, free: 460 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/1.039, allocations: 4 kB / 1.439 GB, free: 456 kB / 1.154 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009806/1.049, allocations: 5.592 MB / 1.445 GB, free: 10.83 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.049, allocations: 12 kB / 1.445 GB, free: 10.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/1.049, allocations: 32.11 kB / 1.445 GB, free: 10.79 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008205/1.05, allocations: 408.6 kB / 1.445 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002388/1.052, allocations: 0.585 MB / 1.446 GB, free: 9.801 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008526/1.053, allocations: 0.8996 MB / 1.447 GB, free: 8.875 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/1.056, allocations: 396.7 kB / 1.447 GB, free: 8.484 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/1.057, allocations: 155.9 kB / 1.447 GB, free: 8.332 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004756/1.061, allocations: 2.852 MB / 1.45 GB, free: 5.473 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003706/1.065, allocations: 2.687 MB / 1.452 GB, free: 2.438 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006211/1.071, allocations: 4.149 MB / 1.456 GB, free: 13.99 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.431e-05/1.071, allocations: 4 kB / 1.456 GB, free: 13.99 MB / 1.186 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.009106/1.08, allocations: 5.15 MB / 1.462 GB, free: 8.812 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.081, allocations: 12 kB / 1.462 GB, free: 8.801 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/1.081, allocations: 20 kB / 1.462 GB, free: 8.781 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.082, allocations: 461.3 kB / 1.462 GB, free: 8.328 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/1.084, allocations: 0.5655 MB / 1.463 GB, free: 7.762 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008023/1.092, allocations: 6.117 MB / 1.469 GB, free: 1.43 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/1.096, allocations: 314.2 kB / 1.469 GB, free: 1.121 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/1.096, allocations: 152 kB / 1.469 GB, free: 0.9727 MB / 1.186 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.0005746/1.096, allocations: 311.5 kB / 1.469 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/1.097, allocations: 438.1 kB / 1.47 GB, free: 232 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006589/1.104, allocations: 2.484 MB / 1.472 GB, free: 13.72 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.104, allocations: 7.984 kB / 1.472 GB, free: 13.71 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.104, allocations: 0 / 1.472 GB, free: 13.71 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/1.106, allocations: 0.7447 MB / 1.473 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009864/1.107, allocations: 16 kB / 1.473 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/1.11, allocations: 147.8 kB / 1.473 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/1.11, allocations: 72.89 kB / 1.473 GB, free: 12.71 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006399/1.116, allocations: 2.017 MB / 1.475 GB, free: 10.69 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007781/1.124, allocations: 3.282 MB / 1.478 GB, free: 7.387 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002169/1.126, allocations: 0.8198 MB / 1.479 GB, free: 6.57 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.006495/1.133, allocations: 3.856 MB / 1.483 GB, free: 2.742 MB / 1.201 GB Notification: Performance of Backend: time 6.61e-07/1.133, allocations: 4 kB / 1.483 GB, free: 2.738 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01353/1.146, allocations: 5.948 MB / 1.489 GB, free: 12.79 MB / 1.217 GB Notification: Performance of SimCode: time 0.02156/1.168, allocations: 9.879 MB / 1.498 GB, free: 2.918 MB / 1.217 GB Notification: Performance of Templates: time 0.6988/1.867, allocations: 107.1 MB / 1.603 GB, free: 312.8 MB / 1.279 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=480 -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