Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_11_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_11_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.006394/0.006394, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001753/0.001753, allocations: 192.8 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.506/2.506, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 63.91 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6442/0.646, allocations: 159.1 MB / 1.22 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1014/0.7474, allocations: 104.1 MB / 1.322 GB, free: 9.539 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04735/0.7948, allocations: 34.96 MB / 1.356 GB, free: 6.496 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004804/0.7997, allocations: 159.2 kB / 1.356 GB, free: 6.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.007108/0.8068, allocations: 2.882 MB / 1.359 GB, free: 3.449 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01289/0.8197, allocations: 5.462 MB / 1.364 GB, free: 13.96 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008766/0.8285, allocations: 4.069 MB / 1.368 GB, free: 9.914 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.04314/0.8717, allocations: 31.53 MB / 1.399 GB, free: 10.33 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005701/0.8774, allocations: 3.672 MB / 1.403 GB, free: 6.59 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008654/0.8861, allocations: 4.265 MB / 1.407 GB, free: 2.32 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005424/0.8915, allocations: 3.382 MB / 1.41 GB, free: 14.93 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.8925, allocations: 463.9 kB / 1.411 GB, free: 14.47 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006041/0.8986, allocations: 2.933 MB / 1.413 GB, free: 11.54 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.9004, allocations: 1.877 MB / 1.415 GB, free: 9.652 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003741/0.9042, allocations: 3.043 MB / 1.418 GB, free: 6.594 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.9161, allocations: 9.006 MB / 1.427 GB, free: 13.55 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.9161, allocations: 8 kB / 1.427 GB, free: 13.55 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9161, allocations: 7.922 kB / 1.427 GB, free: 13.54 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001221/0.9162, allocations: 0 / 1.427 GB, free: 13.54 MB / 1.154 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.01106/0.9273, allocations: 6.611 MB / 1.433 GB, free: 6.805 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.9273, allocations: 8.625 kB / 1.433 GB, free: 6.797 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003532/0.9277, allocations: 295.8 kB / 1.434 GB, free: 6.496 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/0.9378, allocations: 1.932 MB / 1.436 GB, free: 4.559 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03197/0.9697, allocations: 18.04 MB / 1.453 GB, free: 2.438 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.97, allocations: 180.2 kB / 1.453 GB, free: 2.258 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005097/0.9705, allocations: 244 kB / 1.454 GB, free: 2.02 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006073/0.9766, allocations: 3.227 MB / 1.457 GB, free: 14.65 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/0.9766, allocations: 7.938 kB / 1.457 GB, free: 14.64 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002413/0.9769, allocations: 88 kB / 1.457 GB, free: 14.55 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.633e-05/0.9769, allocations: 52 kB / 1.457 GB, free: 14.5 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006351/0.9833, allocations: 2.596 MB / 1.46 GB, free: 11.89 MB / 1.186 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.02043/1.004, allocations: 14.92 MB / 1.474 GB, free: 12.06 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005535/1.009, allocations: 2.279 MB / 1.476 GB, free: 9.773 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/1.012, allocations: 0.992 MB / 1.477 GB, free: 8.777 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007424/1.019, allocations: 4.996 MB / 1.482 GB, free: 3.488 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/1.019, allocations: 47.55 kB / 1.482 GB, free: 3.434 MB / 1.201 GB Notification: Performance of pre-optimization done (n=112): time 4.118e-06/1.019, allocations: 96 / 1.482 GB, free: 3.434 MB / 1.201 GB Notification: Performance of matching and sorting (n=112): time 0.01089/1.03, allocations: 3.987 MB / 1.486 GB, free: 15.36 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/1.03, allocations: 68.34 kB / 1.486 GB, free: 15.28 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007879/1.038, allocations: 5.563 MB / 1.492 GB, free: 9.711 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003185/1.038, allocations: 61.7 kB / 1.492 GB, free: 9.645 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00204/1.04, allocations: 2.297 MB / 1.494 GB, free: 7.332 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004841/1.041, allocations: 424.5 kB / 1.494 GB, free: 6.914 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001272/1.042, allocations: 0.8802 MB / 1.495 GB, free: 6.027 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.042, allocations: 301.1 kB / 1.495 GB, free: 5.73 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00433/1.047, allocations: 2.625 MB / 1.498 GB, free: 3.098 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005086/1.052, allocations: 3.455 MB / 1.501 GB, free: 15.32 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008776/1.061, allocations: 5.583 MB / 1.507 GB, free: 9.48 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/1.061, allocations: 4 kB / 1.507 GB, free: 9.477 MB / 1.232 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01226/1.073, allocations: 7.092 MB / 1.514 GB, free: 2.34 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.073, allocations: 20.19 kB / 1.514 GB, free: 2.32 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/1.073, allocations: 16 kB / 1.514 GB, free: 2.305 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/1.075, allocations: 0.7177 MB / 1.514 GB, free: 1.574 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/1.077, allocations: 0.6553 MB / 1.515 GB, free: 0.918 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/1.08, allocations: 2.732 MB / 1.518 GB, free: 14.08 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003535/1.083, allocations: 458.5 kB / 1.518 GB, free: 13.63 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003637/1.083, allocations: 215.8 kB / 1.518 GB, free: 13.42 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005572/1.089, allocations: 3.249 MB / 1.522 GB, free: 10.17 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004452/1.094, allocations: 3.026 MB / 1.525 GB, free: 6.828 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007586/1.101, allocations: 4.719 MB / 1.529 GB, free: 1.852 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.438e-06/1.101, allocations: 4 kB / 1.529 GB, free: 1.848 MB / 1.248 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.01181/1.113, allocations: 6.268 MB / 1.535 GB, free: 11.54 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.113, allocations: 12.22 kB / 1.535 GB, free: 11.52 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/1.113, allocations: 24 kB / 1.535 GB, free: 11.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/1.116, allocations: 0.8076 MB / 1.536 GB, free: 10.68 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/1.118, allocations: 0.6319 MB / 1.537 GB, free: 10.05 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/1.136, allocations: 13.64 MB / 1.55 GB, free: 11.74 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/1.14, allocations: 370.9 kB / 1.55 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/1.14, allocations: 179.9 kB / 1.551 GB, free: 11.2 MB / 1.279 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.000657/1.141, allocations: 325.7 kB / 1.551 GB, free: 10.87 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007267/1.142, allocations: 0.5004 MB / 1.551 GB, free: 10.37 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008079/1.15, allocations: 3.315 MB / 1.555 GB, free: 7.027 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-05/1.15, allocations: 23.92 kB / 1.555 GB, free: 7.004 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.15, allocations: 0 / 1.555 GB, free: 7.004 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/1.15, allocations: 11.97 kB / 1.555 GB, free: 6.992 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/1.162, allocations: 6.195 MB / 1.561 GB, free: 0.7148 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.162, allocations: 0 / 1.561 GB, free: 0.7148 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/1.163, allocations: 311.6 kB / 1.561 GB, free: 420 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009499/1.164, allocations: 386.8 kB / 1.561 GB, free: 20 kB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.5083/1.673, allocations: 45.8 kB / 1.561 GB, free: 322.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/1.674, allocations: 2.616 MB / 1.564 GB, free: 320.5 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.674, allocations: 5.531 kB / 1.564 GB, free: 320.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008025/1.682, allocations: 3.104 MB / 1.567 GB, free: 320.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.684, allocations: 0.8166 MB / 1.568 GB, free: 320.1 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006361/1.685, allocations: 21.8 kB / 1.568 GB, free: 320.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.687, allocations: 157.1 kB / 1.568 GB, free: 320.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/1.687, allocations: 90.78 kB / 1.568 GB, free: 320.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/1.687, allocations: 90.67 kB / 1.568 GB, free: 320 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005619/1.693, allocations: 3.673 MB / 1.572 GB, free: 318.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 3.51e-07/1.693, allocations: 0 / 1.572 GB, free: 318.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.006056/1.699, allocations: 2.337 MB / 1.574 GB, free: 318.6 MB / 1.279 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.007919/1.707, allocations: 4.227 MB / 1.578 GB, free: 316.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01276/1.72, allocations: 7.928 MB / 1.586 GB, free: 313.9 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.72, allocations: 0 / 1.586 GB, free: 313.9 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002809/1.723, allocations: 1.168 MB / 1.587 GB, free: 313.6 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008432/1.731, allocations: 2.434 MB / 1.589 GB, free: 313 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05394/1.785, allocations: 43.26 MB / 1.632 GB, free: 276.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/1.787, allocations: 2.879 MB / 1.634 GB, free: 273.6 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.004231/1.791, allocations: 1.336 MB / 1.636 GB, free: 272.5 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/1.793, allocations: 2.23 MB / 1.638 GB, free: 270.3 MB / 1.279 GB Notification: Performance of SimCode: time 8.91e-07/1.793, allocations: 0 / 1.638 GB, free: 270.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.051/4.844, allocations: 142.5 MB / 1.777 GB, free: 129.5 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.01/34.86, allocations: 2.812 kB / 1.777 GB, free: 129.5 MB / 1.279 GB (rm -f Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches