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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001461/0.001461, allocations: 109 kB / 16.41 MB, free: 5.977 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.001662/0.001662, allocations: 194.5 kB / 17.35 MB, free: 5.578 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.542/2.542, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.702, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07834/0.7804, allocations: 79.36 MB / 1.286 GB, free: 14.13 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03957/0.82, allocations: 28.4 MB / 1.313 GB, free: 1.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004205/0.8242, allocations: 123.4 kB / 1.314 GB, free: 1.539 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.007262/0.8315, allocations: 2.637 MB / 1.316 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009728/0.8413, allocations: 3.887 MB / 1.32 GB, free: 10.99 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007311/0.8486, allocations: 3.165 MB / 1.323 GB, free: 7.836 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.03243/0.881, allocations: 22.53 MB / 1.345 GB, free: 1.273 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005251/0.8863, allocations: 2.75 MB / 1.348 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007356/0.8937, allocations: 3.128 MB / 1.351 GB, free: 11.33 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004573/0.8983, allocations: 2.58 MB / 1.353 GB, free: 8.738 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.8996, allocations: 376 kB / 1.354 GB, free: 8.371 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005809/0.9054, allocations: 2.356 MB / 1.356 GB, free: 6.012 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.9076, allocations: 1.811 MB / 1.358 GB, free: 4.195 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004165/0.9118, allocations: 2.647 MB / 1.36 GB, free: 1.535 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.9222, allocations: 7.862 MB / 1.368 GB, free: 9.648 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9222, allocations: 0 / 1.368 GB, free: 9.648 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9222, allocations: 0 / 1.368 GB, free: 9.648 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001902/0.9224, allocations: 0 / 1.368 GB, free: 9.648 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: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01266/0.9351, allocations: 5.834 MB / 1.374 GB, free: 3.715 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.9352, allocations: 8.031 kB / 1.374 GB, free: 3.707 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008376/0.9435, allocations: 1.547 MB / 1.375 GB, free: 2.152 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/0.9572, allocations: 7.463 MB / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.9574, allocations: 139.2 kB / 1.383 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004008/0.9578, allocations: 188 kB / 1.383 GB, free: 10.3 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005045/0.9629, allocations: 2.603 MB / 1.385 GB, free: 7.602 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.9629, allocations: 4 kB / 1.385 GB, free: 7.598 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.9631, allocations: 71.98 kB / 1.385 GB, free: 7.527 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.9632, allocations: 43.94 kB / 1.385 GB, free: 7.484 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005353/0.9685, allocations: 2.006 MB / 1.387 GB, free: 5.473 MB / 1.107 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.01804/0.9866, allocations: 11.74 MB / 1.399 GB, free: 9.145 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004979/0.9916, allocations: 1.708 MB / 1.401 GB, free: 7.43 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002075/0.9937, allocations: 0.8006 MB / 1.401 GB, free: 6.629 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006961/1.001, allocations: 4.077 MB / 1.405 GB, free: 2.277 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.001, allocations: 43.16 kB / 1.405 GB, free: 2.23 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/1.001, allocations: 0 / 1.405 GB, free: 2.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.008025/1.009, allocations: 2.786 MB / 1.408 GB, free: 15.41 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/1.009, allocations: 60.06 kB / 1.408 GB, free: 15.34 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009891/1.019, allocations: 5.685 MB / 1.414 GB, free: 9.676 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003559/1.019, allocations: 61.69 kB / 1.414 GB, free: 9.609 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002055/1.021, allocations: 2.023 MB / 1.416 GB, free: 7.57 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000483/1.022, allocations: 307.7 kB / 1.416 GB, free: 7.266 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/1.023, allocations: 0.701 MB / 1.417 GB, free: 6.555 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.556e-05/1.023, allocations: 305.1 kB / 1.417 GB, free: 6.254 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/1.026, allocations: 2.032 MB / 1.419 GB, free: 4.211 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004281/1.031, allocations: 2.911 MB / 1.422 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007274/1.038, allocations: 4.585 MB / 1.426 GB, free: 12.07 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/1.038, allocations: 8 kB / 1.426 GB, free: 12.06 MB / 1.154 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01034/1.048, allocations: 5.583 MB / 1.432 GB, free: 6.461 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/1.048, allocations: 14.34 kB / 1.432 GB, free: 6.449 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/1.048, allocations: 24 kB / 1.432 GB, free: 6.426 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000828/1.049, allocations: 412.7 kB / 1.432 GB, free: 6.02 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/1.052, allocations: 0.5889 MB / 1.433 GB, free: 5.43 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008912/1.053, allocations: 0.8957 MB / 1.434 GB, free: 4.508 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/1.056, allocations: 400.7 kB / 1.434 GB, free: 4.113 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003625/1.057, allocations: 151.9 kB / 1.434 GB, free: 3.965 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005201/1.062, allocations: 2.855 MB / 1.437 GB, free: 1.102 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003931/1.066, allocations: 2.683 MB / 1.44 GB, free: 14.07 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006388/1.072, allocations: 4.141 MB / 1.444 GB, free: 9.629 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-05/1.072, allocations: 8 kB / 1.444 GB, free: 9.621 MB / 1.17 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.009304/1.082, allocations: 5.154 MB / 1.449 GB, free: 4.449 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.082, allocations: 16 kB / 1.449 GB, free: 4.434 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/1.082, allocations: 20 kB / 1.449 GB, free: 4.414 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/1.083, allocations: 461.1 kB / 1.449 GB, free: 3.961 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/1.085, allocations: 0.5577 MB / 1.45 GB, free: 3.402 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00778/1.093, allocations: 6.117 MB / 1.456 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003574/1.096, allocations: 323 kB / 1.456 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/1.097, allocations: 151.9 kB / 1.456 GB, free: 12.61 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.0005738/1.097, allocations: 315.5 kB / 1.456 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.098, allocations: 438.1 kB / 1.457 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006603/1.105, allocations: 2.469 MB / 1.459 GB, free: 9.367 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/1.105, allocations: 11.97 kB / 1.459 GB, free: 9.355 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.105, allocations: 4 kB / 1.459 GB, free: 9.352 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0032/1.108, allocations: 0.7486 MB / 1.46 GB, free: 8.578 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001903/1.11, allocations: 16 kB / 1.46 GB, free: 8.562 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003619/1.114, allocations: 143.8 kB / 1.46 GB, free: 8.422 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/1.114, allocations: 72.89 kB / 1.46 GB, free: 8.348 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006479/1.121, allocations: 2.025 MB / 1.462 GB, free: 6.312 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008086/1.129, allocations: 3.286 MB / 1.465 GB, free: 3.004 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002121/1.131, allocations: 0.8198 MB / 1.466 GB, free: 2.188 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.006898/1.138, allocations: 3.856 MB / 1.47 GB, free: 14.36 MB / 1.201 GB Notification: Performance of Backend: time 7.21e-07/1.138, allocations: 0 / 1.47 GB, free: 14.36 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01464/1.152, allocations: 5.944 MB / 1.476 GB, free: 8.414 MB / 1.201 GB Notification: Performance of SimCode: time 0.0213/1.174, allocations: 9.884 MB / 1.485 GB, free: 14.54 MB / 1.217 GB Notification: Performance of Templates: time 0.6828/1.857, allocations: 106.5 MB / 1.589 GB, free: 330.9 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