Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PumpCurveConstruction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum_dp.dpMachine|pum_m_flow.dpMachine|pum_no.dpMachine",fileNamePrefix="Buildings_latest_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_latest_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.001208/0.001208, allocations: 98.66 kB / 16.35 MB, free: 5.824 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.001209/0.001209, allocations: 196.7 kB / 17.3 MB, free: 5.48 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.436/2.436, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.78 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2747, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.5598/0.8346, allocations: 104.1 MB / 1.128 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.05239/0.887, allocations: 34.93 MB / 1.163 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007463/0.8945, allocations: 159.8 kB / 1.163 GB, free: 3.637 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.03056/0.9251, allocations: 18.54 MB / 1.181 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01551/0.9407, allocations: 5.283 MB / 1.186 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.9509, allocations: 4.018 MB / 1.19 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.04535/0.9962, allocations: 31.08 MB / 1.22 GB, free: 7.574 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006615/1.003, allocations: 3.547 MB / 1.224 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01044/1.013, allocations: 4.12 MB / 1.228 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005658/1.019, allocations: 3.258 MB / 1.231 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001459/1.02, allocations: 432 kB / 1.231 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007453/1.028, allocations: 2.898 MB / 1.234 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002421/1.03, allocations: 1.826 MB / 1.236 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005224/1.036, allocations: 2.946 MB / 1.239 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/1.048, allocations: 8.606 MB / 1.247 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.048, allocations: 0 / 1.247 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/1.048, allocations: 0 / 1.247 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.000232/1.049, allocations: 4 kB / 1.247 GB, free: 11.82 MB / 0.9512 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.01429/1.063, allocations: 6.176 MB / 1.253 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/1.063, allocations: 12.03 kB / 1.253 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/1.074, allocations: 1.905 MB / 1.255 GB, free: 3.602 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/1.09, allocations: 7.065 MB / 1.262 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/1.09, allocations: 180.2 kB / 1.262 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007559/1.091, allocations: 248 kB / 1.262 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006242/1.097, allocations: 3.219 MB / 1.266 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/1.097, allocations: 4 kB / 1.266 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/1.098, allocations: 88 kB / 1.266 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/1.098, allocations: 52 kB / 1.266 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006224/1.104, allocations: 2.604 MB / 1.268 GB, free: 5.918 MB / 0.9669 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.02183/1.126, allocations: 14.82 MB / 1.283 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/1.131, allocations: 2.281 MB / 1.285 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002331/1.133, allocations: 0.992 MB / 1.286 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008445/1.142, allocations: 4.953 MB / 1.291 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/1.142, allocations: 55.56 kB / 1.291 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=112): time 3.386e-06/1.142, allocations: 0 / 1.291 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112): time 0.01085/1.153, allocations: 3.945 MB / 1.295 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/1.153, allocations: 68.39 kB / 1.295 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007215/1.16, allocations: 5.424 MB / 1.3 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003828/1.16, allocations: 61.7 kB / 1.3 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.162, allocations: 2.215 MB / 1.302 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004792/1.163, allocations: 418.3 kB / 1.303 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/1.164, allocations: 0.8721 MB / 1.303 GB, free: 468 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.813e-05/1.164, allocations: 313.1 kB / 1.304 GB, free: 152 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004071/1.168, allocations: 2.618 MB / 1.306 GB, free: 13.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00469/1.173, allocations: 3.456 MB / 1.31 GB, free: 9.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008217/1.181, allocations: 5.586 MB / 1.315 GB, free: 3.906 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/1.181, allocations: 4 kB / 1.315 GB, free: 3.902 MB / 1.014 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01165/1.193, allocations: 7.054 MB / 1.322 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.193, allocations: 19.98 kB / 1.322 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/1.193, allocations: 19.94 kB / 1.322 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/1.194, allocations: 0.7182 MB / 1.323 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/1.197, allocations: 0.6631 MB / 1.323 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/1.199, allocations: 2.725 MB / 1.326 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/1.203, allocations: 437 kB / 1.326 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003993/1.203, allocations: 215.9 kB / 1.327 GB, free: 7.898 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00516/1.208, allocations: 3.241 MB / 1.33 GB, free: 4.652 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004094/1.213, allocations: 3.026 MB / 1.333 GB, free: 1.305 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006813/1.219, allocations: 4.728 MB / 1.337 GB, free: 12.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.019e-05/1.219, allocations: 4 kB / 1.337 GB, free: 12.31 MB / 1.045 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01086/1.23, allocations: 6.23 MB / 1.344 GB, free: 6.043 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.23, allocations: 12 kB / 1.344 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/1.23, allocations: 16 kB / 1.344 GB, free: 6.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/1.233, allocations: 0.7999 MB / 1.344 GB, free: 5.203 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/1.235, allocations: 0.6396 MB / 1.345 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/1.252, allocations: 13.64 MB / 1.358 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003916/1.256, allocations: 346.2 kB / 1.359 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003966/1.256, allocations: 171.9 kB / 1.359 GB, free: 5.754 MB / 1.061 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.0006751/1.257, allocations: 344.1 kB / 1.359 GB, free: 5.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009078/1.258, allocations: 481.5 kB / 1.36 GB, free: 4.934 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007783/1.266, allocations: 3.314 MB / 1.363 GB, free: 1.594 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/1.266, allocations: 20 kB / 1.363 GB, free: 1.574 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.266, allocations: 0 / 1.363 GB, free: 1.574 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/1.266, allocations: 7.969 kB / 1.363 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/1.278, allocations: 6.142 MB / 1.369 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/1.278, allocations: 3.984 kB / 1.369 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.279, allocations: 307.6 kB / 1.369 GB, free: 11.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009491/1.28, allocations: 379 kB / 1.369 GB, free: 10.65 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/1.28, allocations: 51.89 kB / 1.37 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/1.282, allocations: 2.619 MB / 1.372 GB, free: 7.875 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.282, allocations: 0 / 1.372 GB, free: 7.875 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007905/1.29, allocations: 3.053 MB / 1.375 GB, free: 4.777 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/1.293, allocations: 0.7753 MB / 1.376 GB, free: 3.977 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000648/1.293, allocations: 39.98 kB / 1.376 GB, free: 3.938 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002152/1.295, allocations: 143.8 kB / 1.376 GB, free: 3.797 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.296, allocations: 93.17 kB / 1.376 GB, free: 3.707 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.296, allocations: 87.88 kB / 1.376 GB, free: 3.621 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005006/1.301, allocations: 3.581 MB / 1.38 GB, free: 44 kB / 1.076 GB Notification: Performance of sort global known variables: time 2.51e-07/1.301, allocations: 0 / 1.38 GB, free: 44 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.005421/1.306, allocations: 2.308 MB / 1.382 GB, free: 13.73 MB / 1.092 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.001849/1.308, allocations: 0.9155 MB / 1.383 GB, free: 12.82 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01403/1.322, allocations: 7.907 MB / 1.391 GB, free: 4.859 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.322, allocations: 0 / 1.391 GB, free: 4.859 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002832/1.325, allocations: 1.172 MB / 1.392 GB, free: 3.688 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008537/1.333, allocations: 2.432 MB / 1.394 GB, free: 1.336 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/1.348, allocations: 8.327 MB / 1.402 GB, free: 8.965 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002919/1.351, allocations: 2.871 MB / 1.405 GB, free: 6.062 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.005134/1.356, allocations: 1.322 MB / 1.406 GB, free: 4.734 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.357, allocations: 379.2 kB / 1.407 GB, free: 4.363 MB / 1.107 GB Notification: Performance of SimCode: time 8.71e-07/1.357, allocations: 0 / 1.407 GB, free: 4.363 MB / 1.107 GB Notification: Performance of Templates: time 0.1555/1.512, allocations: 104.3 MB / 1.509 GB, free: 13.18 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches