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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004758/0.004758, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.002093/0.002093, allocations: 205.2 kB / 16.68 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.565/2.565, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 68.11 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2593, allocations: 162.3 MB / 1.242 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.5614/0.8207, allocations: 104.1 MB / 1.343 GB, free: 8.828 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.04637/0.8671, allocations: 34.88 MB / 1.378 GB, free: 15.7 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005942/0.8731, allocations: 162.1 kB / 1.378 GB, free: 15.65 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.007548/0.8807, allocations: 2.883 MB / 1.381 GB, free: 13.48 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.014/0.8947, allocations: 5.492 MB / 1.386 GB, free: 9.082 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009079/0.9038, allocations: 4.04 MB / 1.39 GB, free: 6.043 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.04093/0.9447, allocations: 31.65 MB / 1.421 GB, free: 252 kB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00518/0.9499, allocations: 3.681 MB / 1.424 GB, free: 12.5 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008018/0.958, allocations: 4.287 MB / 1.429 GB, free: 8.211 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004401/0.9624, allocations: 3.328 MB / 1.432 GB, free: 4.867 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007106/0.9631, allocations: 464 kB / 1.432 GB, free: 4.414 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005532/0.9686, allocations: 2.941 MB / 1.435 GB, free: 1.469 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.9703, allocations: 1.881 MB / 1.437 GB, free: 15.58 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002974/0.9732, allocations: 3.039 MB / 1.44 GB, free: 12.53 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.9837, allocations: 9.021 MB / 1.449 GB, free: 3.473 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.9837, allocations: 0 / 1.449 GB, free: 3.473 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9837, allocations: 0 / 1.449 GB, free: 3.473 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.591e-05/0.9838, allocations: 3.938 kB / 1.449 GB, free: 3.469 MB / 1.139 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.009786/0.9936, allocations: 6.583 MB / 1.455 GB, free: 12.77 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.9936, allocations: 15.98 kB / 1.455 GB, free: 12.75 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003299/0.994, allocations: 299.7 kB / 1.455 GB, free: 12.45 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009852/1.004, allocations: 1.936 MB / 1.457 GB, free: 10.5 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03008/1.034, allocations: 18.05 MB / 1.475 GB, free: 8.371 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/1.034, allocations: 184.2 kB / 1.475 GB, free: 8.188 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/1.034, allocations: 240 kB / 1.475 GB, free: 7.953 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005746/1.04, allocations: 3.22 MB / 1.478 GB, free: 4.59 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/1.04, allocations: 11.92 kB / 1.479 GB, free: 4.578 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/1.041, allocations: 88 kB / 1.479 GB, free: 4.492 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/1.041, allocations: 52 kB / 1.479 GB, free: 4.441 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006126/1.047, allocations: 2.592 MB / 1.481 GB, free: 1.832 MB / 1.17 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.01864/1.065, allocations: 15.43 MB / 1.496 GB, free: 1.375 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005384/1.071, allocations: 2.266 MB / 1.498 GB, free: 15.1 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00237/1.073, allocations: 0.9881 MB / 1.499 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006753/1.08, allocations: 4.988 MB / 1.504 GB, free: 8.828 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/1.08, allocations: 43.56 kB / 1.504 GB, free: 8.777 MB / 1.201 GB Notification: Performance of pre-optimization done (n=112): time 2.204e-06/1.08, allocations: 0 / 1.504 GB, free: 8.777 MB / 1.201 GB Notification: Performance of matching and sorting (n=112): time 0.01039/1.09, allocations: 3.995 MB / 1.508 GB, free: 4.688 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.09, allocations: 60.41 kB / 1.508 GB, free: 4.617 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006668/1.097, allocations: 5.537 MB / 1.514 GB, free: 15.07 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001586/1.097, allocations: 61.7 kB / 1.514 GB, free: 15.01 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.099, allocations: 2.273 MB / 1.516 GB, free: 12.72 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003925/1.1, allocations: 440.3 kB / 1.516 GB, free: 12.29 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/1.101, allocations: 0.8803 MB / 1.517 GB, free: 11.4 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001107/1.101, allocations: 301.1 kB / 1.518 GB, free: 11.1 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004228/1.105, allocations: 2.625 MB / 1.52 GB, free: 8.469 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004946/1.11, allocations: 3.459 MB / 1.523 GB, free: 4.691 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008557/1.119, allocations: 5.575 MB / 1.529 GB, free: 14.86 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/1.119, allocations: 4 kB / 1.529 GB, free: 14.85 MB / 1.232 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01165/1.13, allocations: 7.08 MB / 1.536 GB, free: 7.73 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/1.13, allocations: 15.98 kB / 1.536 GB, free: 7.715 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/1.13, allocations: 24.16 kB / 1.536 GB, free: 7.691 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/1.132, allocations: 0.7176 MB / 1.537 GB, free: 6.961 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/1.135, allocations: 0.6631 MB / 1.537 GB, free: 6.297 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/1.137, allocations: 2.732 MB / 1.54 GB, free: 3.461 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/1.14, allocations: 457.3 kB / 1.54 GB, free: 3.012 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003224/1.14, allocations: 211.9 kB / 1.541 GB, free: 2.805 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005159/1.145, allocations: 3.243 MB / 1.544 GB, free: 15.55 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004264/1.15, allocations: 3.022 MB / 1.547 GB, free: 12.21 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007211/1.157, allocations: 4.722 MB / 1.551 GB, free: 7.238 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.989e-06/1.157, allocations: 7.938 kB / 1.551 GB, free: 7.23 MB / 1.248 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.0109/1.168, allocations: 6.264 MB / 1.557 GB, free: 0.9219 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.168, allocations: 12 kB / 1.557 GB, free: 0.9102 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/1.168, allocations: 16 kB / 1.557 GB, free: 0.8945 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/1.17, allocations: 0.8075 MB / 1.558 GB, free: 76 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/1.172, allocations: 0.6358 MB / 1.559 GB, free: 15.44 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/1.189, allocations: 13.71 MB / 1.572 GB, free: 1.039 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/1.192, allocations: 371.5 kB / 1.573 GB, free: 0.6758 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/1.193, allocations: 175.9 kB / 1.573 GB, free: 0.5039 MB / 1.264 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.0005923/1.193, allocations: 336.3 kB / 1.573 GB, free: 172 kB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000654/1.194, allocations: 0.4967 MB / 1.574 GB, free: 15.66 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007767/1.202, allocations: 3.326 MB / 1.577 GB, free: 12.32 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/1.202, allocations: 19.94 kB / 1.577 GB, free: 12.3 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/1.202, allocations: 0 / 1.577 GB, free: 12.3 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/1.202, allocations: 7.969 kB / 1.577 GB, free: 12.29 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/1.213, allocations: 6.179 MB / 1.583 GB, free: 6.031 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.213, allocations: 0 / 1.583 GB, free: 6.031 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.214, allocations: 307.6 kB / 1.583 GB, free: 5.73 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009095/1.215, allocations: 379 kB / 1.584 GB, free: 5.348 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/1.215, allocations: 55.94 kB / 1.584 GB, free: 5.293 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/1.217, allocations: 2.623 MB / 1.586 GB, free: 2.566 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.217, allocations: 0 / 1.586 GB, free: 2.566 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006675/1.224, allocations: 3.091 MB / 1.589 GB, free: 15.43 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.225, allocations: 0.8134 MB / 1.59 GB, free: 14.59 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/1.225, allocations: 20 kB / 1.59 GB, free: 14.57 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.228, allocations: 155.8 kB / 1.59 GB, free: 14.42 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/1.228, allocations: 89.19 kB / 1.59 GB, free: 14.34 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.228, allocations: 95.86 kB / 1.59 GB, free: 14.24 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004865/1.233, allocations: 3.649 MB / 1.594 GB, free: 10.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.6e-07/1.233, allocations: 0 / 1.594 GB, free: 10.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00479/1.238, allocations: 2.34 MB / 1.596 GB, free: 8.254 MB / 1.295 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.00792/1.245, allocations: 4.232 MB / 1.6 GB, free: 3.984 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01342/1.259, allocations: 7.868 MB / 1.608 GB, free: 12.07 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.259, allocations: 0 / 1.608 GB, free: 12.07 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002799/1.262, allocations: 1.163 MB / 1.609 GB, free: 10.9 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007786/1.27, allocations: 2.424 MB / 1.611 GB, free: 8.555 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06707/1.337, allocations: 43.29 MB / 1.654 GB, free: 12.36 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002706/1.339, allocations: 2.86 MB / 1.657 GB, free: 9.469 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.004452/1.344, allocations: 1.342 MB / 1.658 GB, free: 8.121 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002733/1.347, allocations: 2.225 MB / 1.66 GB, free: 5.895 MB / 1.357 GB Notification: Performance of SimCode: time 6.01e-07/1.347, allocations: 0 / 1.66 GB, free: 5.895 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.066/5.413, allocations: 141.6 MB / 1.798 GB, free: 9.711 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.54/34.95, allocations: 4.062 kB / 1.798 GB, free: 9.707 MB / 1.498 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > 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