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.007224/0.007223, allocations: 102.2 kB / 15.73 MB, free: 6.031 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.001472/0.001472, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.822/2.822, allocations: 461.8 MB / 0.7347 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.34, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.6946/1.035, allocations: 79.36 MB / 1.285 GB, free: 12.74 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04546/1.08, allocations: 28.41 MB / 1.313 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005883/1.086, allocations: 122.3 kB / 1.313 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009548/1.096, allocations: 2.644 MB / 1.316 GB, free: 11.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01333/1.109, allocations: 3.882 MB / 1.319 GB, free: 9.074 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009396/1.118, allocations: 3.173 MB / 1.323 GB, free: 7.406 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.03575/1.154, allocations: 22.52 MB / 1.345 GB, free: 15.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005855/1.16, allocations: 2.75 MB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008505/1.169, allocations: 3.194 MB / 1.35 GB, free: 11.87 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005033/1.174, allocations: 2.575 MB / 1.353 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00125/1.175, allocations: 375 kB / 1.353 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006555/1.181, allocations: 2.366 MB / 1.356 GB, free: 9.117 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002545/1.184, allocations: 1.816 MB / 1.357 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006053/1.19, allocations: 2.639 MB / 1.36 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01318/1.203, allocations: 7.869 MB / 1.368 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/1.203, allocations: 0 / 1.368 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.497e-06/1.203, allocations: 3.984 kB / 1.368 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002671/1.204, allocations: 0 / 1.368 GB, free: 0.6914 MB / 1.045 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.01542/1.219, allocations: 5.83 MB / 1.373 GB, free: 12.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/1.219, allocations: 10.84 kB / 1.373 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008931/1.228, allocations: 1.545 MB / 1.375 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/1.244, allocations: 7.465 MB / 1.382 GB, free: 4.141 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/1.244, allocations: 147.2 kB / 1.382 GB, free: 3.996 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005961/1.245, allocations: 183.9 kB / 1.382 GB, free: 3.816 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006131/1.251, allocations: 2.6 MB / 1.385 GB, free: 1.121 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/1.251, allocations: 7.938 kB / 1.385 GB, free: 1.113 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/1.251, allocations: 68 kB / 1.385 GB, free: 1.047 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/1.251, allocations: 43.94 kB / 1.385 GB, free: 1.004 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005833/1.257, allocations: 2.014 MB / 1.387 GB, free: 14.98 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.01964/1.277, allocations: 11.73 MB / 1.398 GB, free: 2.668 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005092/1.282, allocations: 1.711 MB / 1.4 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/1.284, allocations: 0.7928 MB / 1.401 GB, free: 160 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007611/1.292, allocations: 4.077 MB / 1.405 GB, free: 11.81 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.292, allocations: 39.22 kB / 1.405 GB, free: 11.76 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/1.292, allocations: 0 / 1.405 GB, free: 11.76 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.008494/1.3, allocations: 2.793 MB / 1.408 GB, free: 8.934 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/1.3, allocations: 60.06 kB / 1.408 GB, free: 8.863 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/1.311, allocations: 5.685 MB / 1.413 GB, free: 3.199 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002813/1.311, allocations: 49.7 kB / 1.413 GB, free: 3.145 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002097/1.313, allocations: 2.023 MB / 1.415 GB, free: 1.105 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/1.314, allocations: 315.7 kB / 1.416 GB, free: 0.793 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/1.315, allocations: 0.701 MB / 1.416 GB, free: 84 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.315, allocations: 305.1 kB / 1.417 GB, free: 15.78 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003626/1.319, allocations: 2.035 MB / 1.419 GB, free: 13.73 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00431/1.323, allocations: 2.907 MB / 1.421 GB, free: 10.48 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007283/1.33, allocations: 4.585 MB / 1.426 GB, free: 5.586 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/1.331, allocations: 11.94 kB / 1.426 GB, free: 5.574 MB / 1.107 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01022/1.341, allocations: 5.591 MB / 1.431 GB, free: 15.97 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.341, allocations: 13.88 kB / 1.431 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.263e-05/1.341, allocations: 28.09 kB / 1.431 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008274/1.342, allocations: 408.6 kB / 1.432 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/1.344, allocations: 0.585 MB / 1.432 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009098/1.345, allocations: 0.8958 MB / 1.433 GB, free: 14.02 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/1.349, allocations: 408.5 kB / 1.434 GB, free: 13.62 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/1.349, allocations: 155.9 kB / 1.434 GB, free: 13.47 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005142/1.354, allocations: 2.848 MB / 1.437 GB, free: 10.61 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004126/1.358, allocations: 2.686 MB / 1.439 GB, free: 7.582 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006853/1.365, allocations: 4.145 MB / 1.443 GB, free: 3.133 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.544e-05/1.365, allocations: 4 kB / 1.443 GB, free: 3.129 MB / 1.123 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01019/1.375, allocations: 5.151 MB / 1.448 GB, free: 13.97 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.376, allocations: 16 kB / 1.448 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.709e-05/1.376, allocations: 23.98 kB / 1.448 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/1.377, allocations: 457.2 kB / 1.449 GB, free: 13.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/1.379, allocations: 0.5577 MB / 1.449 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008705/1.388, allocations: 6.117 MB / 1.455 GB, free: 6.586 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004214/1.392, allocations: 322.1 kB / 1.456 GB, free: 6.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004193/1.392, allocations: 148 kB / 1.456 GB, free: 6.125 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.000736/1.393, allocations: 315.5 kB / 1.456 GB, free: 5.809 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/1.394, allocations: 442.1 kB / 1.456 GB, free: 5.371 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007218/1.402, allocations: 2.465 MB / 1.459 GB, free: 2.883 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/1.402, allocations: 19.98 kB / 1.459 GB, free: 2.863 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.402, allocations: 0 / 1.459 GB, free: 2.863 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/1.402, allocations: 3.984 kB / 1.459 GB, free: 2.859 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/1.415, allocations: 5.148 MB / 1.464 GB, free: 13.63 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.415, allocations: 0 / 1.464 GB, free: 13.63 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/1.417, allocations: 271.7 kB / 1.464 GB, free: 13.37 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003852/1.417, allocations: 172.6 kB / 1.464 GB, free: 13.2 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/1.417, allocations: 31.97 kB / 1.464 GB, free: 13.16 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007162/1.418, allocations: 0.806 MB / 1.465 GB, free: 12.33 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/1.418, allocations: 4 kB / 1.465 GB, free: 12.33 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008905/1.427, allocations: 3.412 MB / 1.468 GB, free: 8.879 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/1.429, allocations: 0.7487 MB / 1.469 GB, free: 8.105 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/1.43, allocations: 16 kB / 1.469 GB, free: 8.09 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/1.434, allocations: 147.8 kB / 1.469 GB, free: 7.945 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/1.434, allocations: 64.91 kB / 1.469 GB, free: 7.883 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/1.434, allocations: 59.88 kB / 1.469 GB, free: 7.824 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.008187/1.442, allocations: 3.864 MB / 1.473 GB, free: 3.988 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.7e-07/1.442, allocations: 0 / 1.473 GB, free: 3.988 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.007719/1.45, allocations: 1.935 MB / 1.475 GB, free: 2.051 MB / 1.154 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.002243/1.452, allocations: 0.7892 MB / 1.476 GB, free: 1.258 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.463, allocations: 5.77 MB / 1.482 GB, free: 11.48 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.463, allocations: 0 / 1.482 GB, free: 11.48 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002553/1.466, allocations: 0.8776 MB / 1.482 GB, free: 10.61 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01219/1.478, allocations: 2.413 MB / 1.485 GB, free: 8.258 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/1.496, allocations: 7.724 MB / 1.492 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003832/1.5, allocations: 2.675 MB / 1.495 GB, free: 13.79 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.005925/1.506, allocations: 1.204 MB / 1.496 GB, free: 12.57 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.507, allocations: 347.3 kB / 1.496 GB, free: 12.23 MB / 1.186 GB Notification: Performance of SimCode: time 6.51e-07/1.507, allocations: 0 / 1.496 GB, free: 12.23 MB / 1.186 GB Notification: Performance of Templates: time 0.1574/1.664, allocations: 96.54 MB / 1.591 GB, free: 12.86 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches