Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_10_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_10_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.001692/0.001692, allocations: 105.3 kB / 16.41 MB, free: 6.414 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.001862/0.001862, allocations: 191.7 kB / 17.34 MB, free: 5.691 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.654/1.654, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 67.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.032, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.08213/1.114, allocations: 79.37 MB / 1.245 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04296/1.157, allocations: 28.4 MB / 1.273 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005871/1.163, allocations: 127.3 kB / 1.273 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008133/1.171, allocations: 2.638 MB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/1.183, allocations: 3.998 MB / 1.279 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008228/1.191, allocations: 3.182 MB / 1.282 GB, free: 13.78 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.03427/1.225, allocations: 22.52 MB / 1.304 GB, free: 7.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005038/1.23, allocations: 2.746 MB / 1.307 GB, free: 4.422 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008398/1.239, allocations: 3.2 MB / 1.31 GB, free: 1.219 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005258/1.244, allocations: 2.561 MB / 1.313 GB, free: 14.65 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001638/1.246, allocations: 372 kB / 1.313 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006385/1.252, allocations: 2.364 MB / 1.315 GB, free: 11.92 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00274/1.255, allocations: 1.819 MB / 1.317 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.005716/1.261, allocations: 2.643 MB / 1.32 GB, free: 7.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01494/1.275, allocations: 7.893 MB / 1.327 GB, free: 15.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/1.276, allocations: 0 / 1.327 GB, free: 15.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.244e-06/1.276, allocations: 0 / 1.327 GB, free: 15.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002817/1.276, allocations: 0 / 1.327 GB, free: 15.52 MB / 1.061 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.01619/1.292, allocations: 6.017 MB / 1.333 GB, free: 9.395 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.292, allocations: 12.92 kB / 1.333 GB, free: 9.383 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009282/1.301, allocations: 1.573 MB / 1.335 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01629/1.318, allocations: 7.511 MB / 1.342 GB, free: 236 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/1.318, allocations: 139.2 kB / 1.342 GB, free: 96 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006288/1.319, allocations: 188.1 kB / 1.342 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005594/1.324, allocations: 2.603 MB / 1.345 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/1.324, allocations: 7.938 kB / 1.345 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/1.325, allocations: 71.94 kB / 1.345 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.833e-05/1.325, allocations: 43.94 kB / 1.345 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005532/1.33, allocations: 2.006 MB / 1.347 GB, free: 11.07 MB / 1.076 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.02109/1.351, allocations: 11.75 MB / 1.358 GB, free: 14.73 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005536/1.357, allocations: 1.712 MB / 1.36 GB, free: 13.02 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/1.359, allocations: 0.7928 MB / 1.361 GB, free: 12.22 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008415/1.368, allocations: 4.085 MB / 1.365 GB, free: 7.867 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/1.368, allocations: 51.2 kB / 1.365 GB, free: 7.809 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 3.656e-06/1.368, allocations: 0 / 1.365 GB, free: 7.809 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.01029/1.378, allocations: 2.812 MB / 1.368 GB, free: 4.965 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/1.378, allocations: 60.06 kB / 1.368 GB, free: 4.895 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/1.391, allocations: 5.682 MB / 1.373 GB, free: 15.23 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000513/1.392, allocations: 53.7 kB / 1.373 GB, free: 15.18 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002914/1.395, allocations: 2.057 MB / 1.375 GB, free: 13.11 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006999/1.395, allocations: 321.4 kB / 1.376 GB, free: 12.79 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001785/1.397, allocations: 0.7091 MB / 1.376 GB, free: 12.07 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.397, allocations: 301.1 kB / 1.377 GB, free: 11.77 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/1.401, allocations: 2.032 MB / 1.379 GB, free: 9.73 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004484/1.405, allocations: 2.911 MB / 1.381 GB, free: 6.473 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007884/1.413, allocations: 4.585 MB / 1.386 GB, free: 1.594 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.242e-05/1.413, allocations: 4 kB / 1.386 GB, free: 1.59 MB / 1.107 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01189/1.425, allocations: 5.605 MB / 1.391 GB, free: 11.97 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/1.425, allocations: 16 kB / 1.391 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.12e-05/1.426, allocations: 20 kB / 1.391 GB, free: 11.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009525/1.426, allocations: 413.3 kB / 1.392 GB, free: 11.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00277/1.429, allocations: 0.5811 MB / 1.392 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/1.431, allocations: 0.8997 MB / 1.393 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006369/1.437, allocations: 418.1 kB / 1.394 GB, free: 9.609 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000778/1.438, allocations: 148 kB / 1.394 GB, free: 9.465 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006505/1.444, allocations: 2.855 MB / 1.397 GB, free: 6.602 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004562/1.449, allocations: 2.691 MB / 1.399 GB, free: 3.562 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007055/1.456, allocations: 4.137 MB / 1.403 GB, free: 15.13 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.53e-05/1.456, allocations: 4 kB / 1.403 GB, free: 15.12 MB / 1.139 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01089/1.467, allocations: 5.181 MB / 1.408 GB, free: 9.926 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/1.467, allocations: 12 kB / 1.408 GB, free: 9.914 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-05/1.467, allocations: 31.98 kB / 1.408 GB, free: 9.883 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/1.468, allocations: 456.8 kB / 1.409 GB, free: 9.434 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/1.471, allocations: 0.5616 MB / 1.409 GB, free: 8.871 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008554/1.479, allocations: 6.125 MB / 1.415 GB, free: 2.531 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006118/1.485, allocations: 327.2 kB / 1.416 GB, free: 2.211 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008266/1.486, allocations: 136 kB / 1.416 GB, free: 2.078 MB / 1.139 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.001356/1.488, allocations: 323.5 kB / 1.416 GB, free: 1.754 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00249/1.49, allocations: 460.8 kB / 1.417 GB, free: 1.301 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008627/1.499, allocations: 2.469 MB / 1.419 GB, free: 14.81 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.9e-05/1.499, allocations: 8 kB / 1.419 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.499, allocations: 4 kB / 1.419 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/1.499, allocations: 11.91 kB / 1.419 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/1.514, allocations: 5.152 MB / 1.424 GB, free: 9.559 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.514, allocations: 0 / 1.424 GB, free: 9.559 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.516, allocations: 275.7 kB / 1.424 GB, free: 9.289 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/1.516, allocations: 156.8 kB / 1.424 GB, free: 9.133 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/1.516, allocations: 35.97 kB / 1.424 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000823/1.517, allocations: 0.8139 MB / 1.425 GB, free: 8.258 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.517, allocations: 0 / 1.425 GB, free: 8.258 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00918/1.526, allocations: 3.434 MB / 1.429 GB, free: 4.789 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/1.529, allocations: 0.7709 MB / 1.429 GB, free: 3.996 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.53, allocations: 20 kB / 1.429 GB, free: 3.977 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/1.534, allocations: 147.8 kB / 1.43 GB, free: 3.832 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/1.534, allocations: 68.84 kB / 1.43 GB, free: 3.762 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001888/1.534, allocations: 59.94 kB / 1.43 GB, free: 3.703 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.009189/1.543, allocations: 3.856 MB / 1.433 GB, free: 15.87 MB / 1.17 GB Notification: Performance of sort global known variables: time 6.61e-07/1.543, allocations: 0 / 1.433 GB, free: 15.87 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.008877/1.552, allocations: 1.946 MB / 1.435 GB, free: 13.92 MB / 1.17 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.002856/1.555, allocations: 0.8169 MB / 1.436 GB, free: 13.11 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01235/1.567, allocations: 5.762 MB / 1.442 GB, free: 7.34 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/1.567, allocations: 8.062 kB / 1.442 GB, free: 7.332 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002612/1.57, allocations: 0.8764 MB / 1.443 GB, free: 6.457 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01291/1.583, allocations: 2.425 MB / 1.445 GB, free: 4.098 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/1.604, allocations: 8.062 MB / 1.453 GB, free: 11.97 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004092/1.608, allocations: 2.648 MB / 1.455 GB, free: 9.293 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002263/1.61, allocations: 371.2 kB / 1.456 GB, free: 8.93 MB / 1.186 GB Notification: Performance of SimCode: time 1.793e-06/1.61, allocations: 0 / 1.456 GB, free: 8.93 MB / 1.186 GB Notification: Performance of Templates: time 0.1518/1.762, allocations: 98.75 MB / 1.552 GB, free: 6.785 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches