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.001547/0.001547, allocations: 107.3 kB / 16.41 MB, free: 6.387 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.001056/0.001056, allocations: 187.9 kB / 17.34 MB, free: 5.84 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.293/1.293, 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 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7425/0.7438, allocations: 151.6 MB / 1.167 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1007/0.8446, allocations: 104.1 MB / 1.269 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05082/0.8955, allocations: 34.93 MB / 1.303 GB, free: 8.457 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007353/0.9029, allocations: 155.2 kB / 1.303 GB, free: 8.305 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00827/0.9112, allocations: 2.916 MB / 1.306 GB, free: 5.379 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/0.9255, allocations: 5.692 MB / 1.312 GB, free: 15.66 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.009384/0.9349, allocations: 4.053 MB / 1.316 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.04192/0.9768, allocations: 31.55 MB / 1.346 GB, free: 12.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005743/0.9826, allocations: 3.672 MB / 1.35 GB, free: 8.293 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009253/0.9918, allocations: 4.368 MB / 1.354 GB, free: 3.922 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005522/0.9974, allocations: 3.367 MB / 1.358 GB, free: 0.543 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.9985, allocations: 460 kB / 1.358 GB, free: 96 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006366/1.005, allocations: 2.937 MB / 1.361 GB, free: 13.15 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001823/1.007, allocations: 1.877 MB / 1.363 GB, free: 11.27 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003808/1.011, allocations: 2.993 MB / 1.366 GB, free: 8.262 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01236/1.023, allocations: 8.8 MB / 1.374 GB, free: 15.43 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.023, allocations: 0 / 1.374 GB, free: 15.43 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.503e-06/1.023, allocations: 4 kB / 1.374 GB, free: 15.43 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001842/1.023, allocations: 0 / 1.374 GB, free: 15.43 MB / 1.107 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.01161/1.035, allocations: 6.478 MB / 1.381 GB, free: 8.828 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.035, allocations: 12.92 kB / 1.381 GB, free: 8.816 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/1.046, allocations: 1.928 MB / 1.382 GB, free: 6.883 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01589/1.062, allocations: 7.316 MB / 1.39 GB, free: 15.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/1.062, allocations: 184.2 kB / 1.39 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006/1.063, allocations: 248 kB / 1.39 GB, free: 15.07 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00601/1.069, allocations: 3.227 MB / 1.393 GB, free: 11.7 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/1.069, allocations: 3.938 kB / 1.393 GB, free: 11.7 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002245/1.069, allocations: 95.98 kB / 1.393 GB, free: 11.61 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/1.069, allocations: 52 kB / 1.393 GB, free: 11.55 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006434/1.076, allocations: 2.6 MB / 1.396 GB, free: 8.938 MB / 1.123 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.01984/1.095, allocations: 14.87 MB / 1.41 GB, free: 9.16 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005697/1.101, allocations: 2.278 MB / 1.413 GB, free: 6.875 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002514/1.104, allocations: 1.002 MB / 1.414 GB, free: 5.875 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007718/1.111, allocations: 4.999 MB / 1.418 GB, free: 0.5859 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/1.111, allocations: 51.5 kB / 1.418 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of pre-optimization done (n=112): time 2.795e-06/1.111, allocations: 0 / 1.418 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of matching and sorting (n=112): time 0.01137/1.123, allocations: 3.971 MB / 1.422 GB, free: 12.46 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/1.123, allocations: 72.34 kB / 1.422 GB, free: 12.38 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007368/1.13, allocations: 5.483 MB / 1.428 GB, free: 6.883 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004432/1.131, allocations: 57.7 kB / 1.428 GB, free: 6.82 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00179/1.133, allocations: 2.257 MB / 1.43 GB, free: 4.547 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004976/1.133, allocations: 432.4 kB / 1.43 GB, free: 4.121 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/1.134, allocations: 0.8764 MB / 1.431 GB, free: 3.238 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/1.134, allocations: 305.1 kB / 1.432 GB, free: 2.938 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004342/1.139, allocations: 2.621 MB / 1.434 GB, free: 316 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005141/1.144, allocations: 3.459 MB / 1.438 GB, free: 12.53 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008898/1.153, allocations: 5.579 MB / 1.443 GB, free: 6.695 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/1.153, allocations: 8 kB / 1.443 GB, free: 6.688 MB / 1.17 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01247/1.165, allocations: 7.08 MB / 1.45 GB, free: 15.56 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/1.165, allocations: 16.94 kB / 1.45 GB, free: 15.54 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/1.165, allocations: 19.94 kB / 1.45 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/1.167, allocations: 0.7214 MB / 1.451 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/1.17, allocations: 0.667 MB / 1.451 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/1.172, allocations: 2.729 MB / 1.454 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004743/1.177, allocations: 458.4 kB / 1.454 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003909/1.178, allocations: 207.9 kB / 1.455 GB, free: 10.64 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005411/1.183, allocations: 3.251 MB / 1.458 GB, free: 7.379 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004287/1.187, allocations: 3.022 MB / 1.461 GB, free: 4.039 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007272/1.195, allocations: 4.724 MB / 1.465 GB, free: 15.06 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.047e-05/1.195, allocations: 8 kB / 1.465 GB, free: 15.05 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01142/1.206, allocations: 6.255 MB / 1.471 GB, free: 8.754 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.206, allocations: 12.97 kB / 1.471 GB, free: 8.742 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/1.206, allocations: 16 kB / 1.471 GB, free: 8.727 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/1.209, allocations: 0.8074 MB / 1.472 GB, free: 7.906 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002644/1.211, allocations: 0.628 MB / 1.473 GB, free: 7.277 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/1.228, allocations: 13.64 MB / 1.486 GB, free: 8.969 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004214/1.233, allocations: 358.8 kB / 1.487 GB, free: 8.617 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003874/1.233, allocations: 175.9 kB / 1.487 GB, free: 8.445 MB / 1.217 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.0006766/1.234, allocations: 327.7 kB / 1.487 GB, free: 8.117 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007825/1.235, allocations: 0.4927 MB / 1.488 GB, free: 7.621 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008281/1.243, allocations: 3.326 MB / 1.491 GB, free: 4.27 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/1.243, allocations: 3.984 kB / 1.491 GB, free: 4.266 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.243, allocations: 3.984 kB / 1.491 GB, free: 4.262 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.244, allocations: 0.8095 MB / 1.492 GB, free: 3.43 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/1.245, allocations: 27.98 kB / 1.492 GB, free: 3.402 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002302/1.247, allocations: 151.8 kB / 1.492 GB, free: 3.254 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/1.248, allocations: 125.1 kB / 1.492 GB, free: 3.133 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007498/1.255, allocations: 2.546 MB / 1.494 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009575/1.265, allocations: 3.936 MB / 1.498 GB, free: 12.6 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002532/1.267, allocations: 0.9861 MB / 1.499 GB, free: 11.62 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.005342/1.273, allocations: 3.62 MB / 1.503 GB, free: 8 MB / 1.232 GB Notification: Performance of Backend: time 4.11e-07/1.273, allocations: 0 / 1.503 GB, free: 8 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01626/1.289, allocations: 8.062 MB / 1.511 GB, free: 15.9 MB / 1.248 GB Notification: Performance of SimCode: time 0.01892/1.308, allocations: 10.82 MB / 1.521 GB, free: 5.09 MB / 1.248 GB Notification: Performance of Templates: time 0.744/2.052, allocations: 119.7 MB / 1.638 GB, free: 308 MB / 1.279 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches