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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_10_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.008014/0.008014, allocations: 99.73 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.001847/0.001847, allocations: 194.5 kB / 16.68 MB, free: 5.961 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.409/1.409, allocations: 222.9 MB / 240.4 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.47/2.47, allocations: 437 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.00161, allocations: 68.11 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8212/0.8228, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1217/0.9446, allocations: 104.1 MB / 1.268 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.05504/0.9996, allocations: 34.92 MB / 1.302 GB, free: 8.234 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00642/1.006, allocations: 163.1 kB / 1.302 GB, free: 8.074 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008447/1.015, allocations: 2.92 MB / 1.305 GB, free: 5.141 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01557/1.03, allocations: 5.685 MB / 1.311 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01042/1.041, allocations: 4.08 MB / 1.314 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.04767/1.088, allocations: 31.54 MB / 1.345 GB, free: 11.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008312/1.097, allocations: 3.672 MB / 1.349 GB, free: 8.043 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01199/1.109, allocations: 4.36 MB / 1.353 GB, free: 3.68 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006729/1.115, allocations: 3.378 MB / 1.356 GB, free: 296 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002084/1.118, allocations: 460 kB / 1.357 GB, free: 15.84 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008364/1.126, allocations: 2.933 MB / 1.36 GB, free: 12.9 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003149/1.129, allocations: 1.877 MB / 1.362 GB, free: 11.02 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006278/1.135, allocations: 3.039 MB / 1.365 GB, free: 7.965 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0172/1.153, allocations: 8.96 MB / 1.373 GB, free: 14.98 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/1.153, allocations: 0 / 1.373 GB, free: 14.98 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.319e-06/1.153, allocations: 4 kB / 1.373 GB, free: 14.97 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002998/1.153, allocations: 0 / 1.373 GB, free: 14.97 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.01688/1.17, allocations: 6.405 MB / 1.38 GB, free: 8.453 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.17, allocations: 8.625 kB / 1.38 GB, free: 8.445 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008702/1.171, allocations: 303.7 kB / 1.38 GB, free: 8.137 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/1.183, allocations: 1.905 MB / 1.382 GB, free: 6.223 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0378/1.22, allocations: 17.96 MB / 1.399 GB, free: 4.172 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002999/1.221, allocations: 188.2 kB / 1.399 GB, free: 3.984 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/1.222, allocations: 240 kB / 1.4 GB, free: 3.75 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008969/1.231, allocations: 3.227 MB / 1.403 GB, free: 388 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.786e-05/1.231, allocations: 7.922 kB / 1.403 GB, free: 380 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00065/1.232, allocations: 92 kB / 1.403 GB, free: 288 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.839e-05/1.232, allocations: 59.94 kB / 1.403 GB, free: 228 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008051/1.24, allocations: 2.592 MB / 1.405 GB, free: 13.61 MB / 1.139 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.02838/1.268, allocations: 14.89 MB / 1.42 GB, free: 13.82 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006848/1.275, allocations: 2.266 MB / 1.422 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/1.278, allocations: 1.001 MB / 1.423 GB, free: 10.55 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/1.29, allocations: 4.991 MB / 1.428 GB, free: 5.266 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/1.29, allocations: 43.56 kB / 1.428 GB, free: 5.215 MB / 1.154 GB Notification: Performance of pre-optimization done (n=112): time 4.068e-06/1.29, allocations: 0 / 1.428 GB, free: 5.215 MB / 1.154 GB Notification: Performance of matching and sorting (n=112): time 0.01346/1.303, allocations: 3.964 MB / 1.432 GB, free: 1.148 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/1.303, allocations: 68.28 kB / 1.432 GB, free: 1.07 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/1.316, allocations: 5.558 MB / 1.437 GB, free: 11.51 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005865/1.316, allocations: 61.7 kB / 1.438 GB, free: 11.44 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002957/1.319, allocations: 2.263 MB / 1.44 GB, free: 9.16 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008415/1.32, allocations: 410.3 kB / 1.44 GB, free: 8.754 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00243/1.323, allocations: 0.876 MB / 1.441 GB, free: 7.871 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001149/1.323, allocations: 305.1 kB / 1.441 GB, free: 7.57 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004879/1.328, allocations: 2.618 MB / 1.444 GB, free: 4.945 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005726/1.333, allocations: 3.467 MB / 1.447 GB, free: 1.16 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/1.344, allocations: 5.579 MB / 1.453 GB, free: 11.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/1.344, allocations: 4 kB / 1.453 GB, free: 11.31 MB / 1.186 GB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01624/1.36, allocations: 7.074 MB / 1.46 GB, free: 4.195 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/1.36, allocations: 15.94 kB / 1.46 GB, free: 4.18 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-05/1.36, allocations: 16.09 kB / 1.46 GB, free: 4.164 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/1.362, allocations: 0.7138 MB / 1.46 GB, free: 3.438 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/1.365, allocations: 0.667 MB / 1.461 GB, free: 2.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/1.368, allocations: 2.728 MB / 1.464 GB, free: 15.94 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.372, allocations: 445.8 kB / 1.464 GB, free: 15.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006565/1.373, allocations: 211.8 kB / 1.464 GB, free: 15.29 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006381/1.379, allocations: 3.251 MB / 1.467 GB, free: 12.04 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004882/1.384, allocations: 3.022 MB / 1.47 GB, free: 8.695 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008363/1.393, allocations: 4.728 MB / 1.475 GB, free: 3.711 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.361e-05/1.393, allocations: 4 kB / 1.475 GB, free: 3.707 MB / 1.201 GB Notification: Performance of matching and sorting (n=488) (initialization_lambda0): time 0.0138/1.407, allocations: 6.242 MB / 1.481 GB, free: 13.42 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.407, allocations: 12 kB / 1.481 GB, free: 13.41 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/1.407, allocations: 16 kB / 1.481 GB, free: 13.39 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002738/1.409, allocations: 0.8074 MB / 1.482 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/1.412, allocations: 0.6319 MB / 1.483 GB, free: 11.94 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/1.432, allocations: 13.64 MB / 1.496 GB, free: 13.64 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005798/1.438, allocations: 366.2 kB / 1.496 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.439, allocations: 167.9 kB / 1.496 GB, free: 13.11 MB / 1.232 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.001486/1.441, allocations: 331.7 kB / 1.497 GB, free: 12.79 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.442, allocations: 485.5 kB / 1.497 GB, free: 12.3 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009782/1.452, allocations: 3.326 MB / 1.5 GB, free: 8.953 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.193e-05/1.452, allocations: 15.98 kB / 1.5 GB, free: 8.938 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.452, allocations: 0 / 1.5 GB, free: 8.938 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/1.452, allocations: 3.984 kB / 1.5 GB, free: 8.934 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/1.469, allocations: 6.202 MB / 1.506 GB, free: 2.648 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/1.469, allocations: 0 / 1.506 GB, free: 2.648 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.471, allocations: 307.6 kB / 1.507 GB, free: 2.348 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/1.472, allocations: 375 kB / 1.507 GB, free: 1.969 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003584/1.473, allocations: 51.94 kB / 1.507 GB, free: 1.918 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/1.475, allocations: 2.623 MB / 1.51 GB, free: 15.19 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.475, allocations: 0 / 1.51 GB, free: 15.19 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00841/1.484, allocations: 3.065 MB / 1.513 GB, free: 12.08 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/1.486, allocations: 0.7947 MB / 1.514 GB, free: 11.26 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/1.487, allocations: 31.88 kB / 1.514 GB, free: 11.23 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002953/1.49, allocations: 147.8 kB / 1.514 GB, free: 11.09 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/1.49, allocations: 93.19 kB / 1.514 GB, free: 11 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/1.491, allocations: 91.92 kB / 1.514 GB, free: 10.91 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.007421/1.498, allocations: 3.67 MB / 1.517 GB, free: 7.242 MB / 1.248 GB Notification: Performance of sort global known variables: time 6.51e-07/1.498, allocations: 0 / 1.517 GB, free: 7.242 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.008012/1.506, allocations: 2.332 MB / 1.52 GB, free: 4.906 MB / 1.248 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.01032/1.516, allocations: 4.202 MB / 1.524 GB, free: 0.6641 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01838/1.535, allocations: 7.918 MB / 1.532 GB, free: 8.695 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.535, allocations: 0.75 kB / 1.532 GB, free: 8.695 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00363/1.539, allocations: 1.167 MB / 1.533 GB, free: 7.527 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01269/1.551, allocations: 2.438 MB / 1.535 GB, free: 5.152 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.681/2.232, allocations: 43.08 MB / 1.577 GB, free: 358.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/2.235, allocations: 2.87 MB / 1.58 GB, free: 357.8 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.005086/2.24, allocations: 1.341 MB / 1.581 GB, free: 357.7 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002965/2.243, allocations: 2.226 MB / 1.583 GB, free: 355.9 MB / 1.279 GB Notification: Performance of SimCode: time 1.202e-06/2.243, allocations: 0 / 1.583 GB, free: 355.9 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1886/2.432, allocations: 142.5 MB / 1.723 GB, free: 219.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.56/27.99, allocations: 5.781 kB / 1.723 GB, free: 219.3 MB / 1.279 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > 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