Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005391/0.005391, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001197/0.001197, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.668/2.668, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 55.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3204, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.7938/1.114, allocations: 104.1 MB / 1.268 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05201/1.166, allocations: 34.94 MB / 1.302 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009086/1.175, allocations: 159.8 kB / 1.303 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01001/1.185, allocations: 2.877 MB / 1.305 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02188/1.207, allocations: 5.464 MB / 1.311 GB, free: 14.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01375/1.221, allocations: 4.058 MB / 1.315 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.05261/1.274, allocations: 31.53 MB / 1.345 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007085/1.281, allocations: 3.672 MB / 1.349 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/1.293, allocations: 4.253 MB / 1.353 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007656/1.3, allocations: 3.372 MB / 1.356 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001931/1.302, allocations: 462.8 kB / 1.357 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009358/1.312, allocations: 2.945 MB / 1.36 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003025/1.315, allocations: 1.864 MB / 1.362 GB, free: 9.059 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.006837/1.322, allocations: 2.994 MB / 1.365 GB, free: 6.996 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01931/1.341, allocations: 8.809 MB / 1.373 GB, free: 14.96 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.341, allocations: 0 / 1.373 GB, free: 14.96 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.264e-06/1.341, allocations: 0 / 1.373 GB, free: 14.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003026/1.341, allocations: 0 / 1.373 GB, free: 14.96 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: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.01537/1.357, allocations: 6.475 MB / 1.379 GB, free: 8.418 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.357, allocations: 12.03 kB / 1.379 GB, free: 8.406 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/1.368, allocations: 1.924 MB / 1.381 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/1.386, allocations: 7.329 MB / 1.389 GB, free: 15.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004005/1.387, allocations: 180.2 kB / 1.389 GB, free: 15.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001599/1.388, allocations: 244 kB / 1.389 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/1.399, allocations: 3.237 MB / 1.392 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-05/1.399, allocations: 0 / 1.392 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006378/1.4, allocations: 88 kB / 1.392 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/1.4, allocations: 52 kB / 1.392 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008327/1.408, allocations: 2.604 MB / 1.395 GB, free: 8.707 MB / 1.061 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.02997/1.438, allocations: 14.88 MB / 1.409 GB, free: 9.027 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006594/1.445, allocations: 2.281 MB / 1.412 GB, free: 6.746 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/1.448, allocations: 0.9959 MB / 1.412 GB, free: 5.75 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/1.458, allocations: 4.991 MB / 1.417 GB, free: 0.5117 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/1.458, allocations: 43.56 kB / 1.417 GB, free: 472 kB / 1.076 GB Notification: Performance of pre-optimization done (n=112): time 3.156e-06/1.458, allocations: 0 / 1.417 GB, free: 472 kB / 1.076 GB Notification: Performance of matching and sorting (n=112): time 0.01251/1.471, allocations: 3.979 MB / 1.421 GB, free: 12.41 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/1.471, allocations: 64.41 kB / 1.421 GB, free: 12.34 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01163/1.482, allocations: 5.495 MB / 1.427 GB, free: 6.832 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006415/1.483, allocations: 61.7 kB / 1.427 GB, free: 6.766 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002881/1.486, allocations: 2.243 MB / 1.429 GB, free: 4.535 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008451/1.487, allocations: 441.3 kB / 1.429 GB, free: 4.109 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002473/1.489, allocations: 0.8725 MB / 1.43 GB, free: 3.23 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.489, allocations: 305.1 kB / 1.431 GB, free: 2.93 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005158/1.494, allocations: 2.621 MB / 1.433 GB, free: 308 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00572/1.5, allocations: 3.463 MB / 1.436 GB, free: 12.52 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009876/1.51, allocations: 5.579 MB / 1.442 GB, free: 6.688 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.066e-05/1.51, allocations: 4 kB / 1.442 GB, free: 6.684 MB / 1.107 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01462/1.525, allocations: 7.09 MB / 1.449 GB, free: 15.55 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/1.525, allocations: 12 kB / 1.449 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/1.525, allocations: 19.94 kB / 1.449 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/1.527, allocations: 0.7139 MB / 1.45 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/1.53, allocations: 0.663 MB / 1.45 GB, free: 14.13 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/1.532, allocations: 2.729 MB / 1.453 GB, free: 11.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005208/1.538, allocations: 458.3 kB / 1.453 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000688/1.538, allocations: 211.9 kB / 1.454 GB, free: 10.64 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006989/1.545, allocations: 3.245 MB / 1.457 GB, free: 7.395 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005081/1.55, allocations: 3.026 MB / 1.46 GB, free: 4.055 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00798/1.558, allocations: 4.717 MB / 1.464 GB, free: 15.09 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.918e-05/1.558, allocations: 12 kB / 1.464 GB, free: 15.07 MB / 1.139 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01241/1.571, allocations: 6.252 MB / 1.47 GB, free: 8.781 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.571, allocations: 20.03 kB / 1.47 GB, free: 8.762 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/1.571, allocations: 19.98 kB / 1.47 GB, free: 8.742 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/1.574, allocations: 0.8036 MB / 1.471 GB, free: 7.926 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/1.576, allocations: 0.6318 MB / 1.472 GB, free: 7.293 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/1.594, allocations: 13.64 MB / 1.485 GB, free: 9.008 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/1.599, allocations: 366.1 kB / 1.485 GB, free: 8.652 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007435/1.6, allocations: 175.9 kB / 1.486 GB, free: 8.48 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (332): * Single equations (assignments): 320 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001344/1.601, allocations: 332.3 kB / 1.486 GB, free: 8.148 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/1.603, allocations: 0.4927 MB / 1.486 GB, free: 7.652 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.613, allocations: 3.324 MB / 1.49 GB, free: 4.305 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.721e-05/1.613, allocations: 23.92 kB / 1.49 GB, free: 4.281 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.613, allocations: 4 kB / 1.49 GB, free: 4.277 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/1.613, allocations: 3.984 kB / 1.49 GB, free: 4.273 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/1.629, allocations: 6.17 MB / 1.496 GB, free: 14.06 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.629, allocations: 4.062 kB / 1.496 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001665/1.631, allocations: 299.6 kB / 1.496 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009987/1.632, allocations: 386.6 kB / 1.496 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/1.632, allocations: 55.88 kB / 1.496 GB, free: 13.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/1.634, allocations: 2.615 MB / 1.499 GB, free: 10.6 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.634, allocations: 8.016 kB / 1.499 GB, free: 10.59 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008001/1.642, allocations: 3.075 MB / 1.502 GB, free: 7.473 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/1.644, allocations: 0.8095 MB / 1.503 GB, free: 6.641 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001305/1.645, allocations: 27.94 kB / 1.503 GB, free: 6.613 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/1.648, allocations: 155.8 kB / 1.503 GB, free: 6.461 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/1.648, allocations: 89.12 kB / 1.503 GB, free: 6.375 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.649, allocations: 91.92 kB / 1.503 GB, free: 6.285 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.007614/1.656, allocations: 3.62 MB / 1.507 GB, free: 2.668 MB / 1.17 GB Notification: Performance of sort global known variables: time 3.8e-07/1.656, allocations: 4 kB / 1.507 GB, free: 2.664 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.008017/1.664, allocations: 2.334 MB / 1.509 GB, free: 336 kB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (117): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002441/1.667, allocations: 0.928 MB / 1.51 GB, free: 15.45 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01768/1.685, allocations: 7.912 MB / 1.518 GB, free: 7.492 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/1.685, allocations: 0 / 1.518 GB, free: 7.492 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003305/1.688, allocations: 1.175 MB / 1.519 GB, free: 6.316 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01138/1.699, allocations: 2.434 MB / 1.521 GB, free: 3.961 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/1.716, allocations: 8.49 MB / 1.529 GB, free: 11.43 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003109/1.719, allocations: 2.868 MB / 1.532 GB, free: 8.527 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.005147/1.724, allocations: 1.33 MB / 1.534 GB, free: 7.191 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.725, allocations: 379.2 kB / 1.534 GB, free: 6.82 MB / 1.201 GB Notification: Performance of SimCode: time 7.72e-07/1.725, allocations: 0 / 1.534 GB, free: 6.82 MB / 1.201 GB Notification: Performance of Templates: time 0.1666/1.891, allocations: 105.2 MB / 1.637 GB, free: 14.95 MB / 1.311 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches