Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_9_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.007893/0.007893, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001368/0.001368, allocations: 194.5 kB / 16.67 MB, free: 5.953 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.88 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.795, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveConstruction): time 0.1012/0.8962, allocations: 102.6 MB / 1.188 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.06334/0.9596, allocations: 32.45 MB / 1.219 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008473/0.9681, allocations: 153.7 kB / 1.22 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006568/0.9747, allocations: 1.97 MB / 1.221 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01582/0.9906, allocations: 4.943 MB / 1.226 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01208/1.003, allocations: 3.822 MB / 1.23 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0155/1.018, allocations: 9.397 MB / 1.239 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006303/1.025, allocations: 3.503 MB / 1.243 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009146/1.034, allocations: 3.954 MB / 1.246 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005288/1.039, allocations: 2.968 MB / 1.249 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001342/1.04, allocations: 396 kB / 1.25 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006566/1.047, allocations: 2.558 MB / 1.252 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001422/1.048, allocations: 1.242 MB / 1.253 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003577/1.052, allocations: 2.258 MB / 1.256 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/1.063, allocations: 6.921 MB / 1.262 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.063, allocations: 0 / 1.262 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.286e-06/1.063, allocations: 0 / 1.262 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001397/1.063, allocations: 3.938 kB / 1.262 GB, free: 10.66 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.009726/1.073, allocations: 4.798 MB / 1.267 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.073, allocations: 12.03 kB / 1.267 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004233/1.073, allocations: 291.5 kB / 1.267 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009008/1.082, allocations: 1.498 MB / 1.269 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/1.093, allocations: 4.064 MB / 1.273 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/1.093, allocations: 176.1 kB / 1.273 GB, free: 15.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000566/1.094, allocations: 236 kB / 1.273 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00521/1.099, allocations: 2.714 MB / 1.276 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.098e-05/1.099, allocations: 8 kB / 1.276 GB, free: 12.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/1.099, allocations: 80 kB / 1.276 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/1.099, allocations: 52 kB / 1.276 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005417/1.105, allocations: 2.096 MB / 1.278 GB, free: 10.36 MB / 1.014 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.02023/1.125, allocations: 12.53 MB / 1.29 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004453/1.129, allocations: 1.599 MB / 1.292 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/1.131, allocations: 0.7616 MB / 1.293 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007058/1.139, allocations: 3.719 MB / 1.296 GB, free: 6.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/1.139, allocations: 43.56 kB / 1.296 GB, free: 6.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 3.036e-06/1.139, allocations: 0 / 1.296 GB, free: 6.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=104): time 0.01006/1.149, allocations: 3.08 MB / 1.299 GB, free: 3.344 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/1.149, allocations: 64.41 kB / 1.299 GB, free: 3.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/1.153, allocations: 3.256 MB / 1.303 GB, free: 15.99 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004275/1.154, allocations: 57.7 kB / 1.303 GB, free: 15.93 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001558/1.156, allocations: 1.717 MB / 1.304 GB, free: 14.2 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000462/1.156, allocations: 366.7 kB / 1.305 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006201/1.157, allocations: 443.2 kB / 1.305 GB, free: 13.4 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 7.975e-05/1.157, allocations: 309 kB / 1.305 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/1.159, allocations: 1.082 MB / 1.306 GB, free: 12.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002886/1.162, allocations: 1.725 MB / 1.308 GB, free: 9.992 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005231/1.167, allocations: 2.674 MB / 1.311 GB, free: 7.082 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/1.167, allocations: 8 kB / 1.311 GB, free: 7.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=224) (initialization): time 0.00798/1.175, allocations: 3.409 MB / 1.314 GB, free: 3.641 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/1.175, allocations: 12 kB / 1.314 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/1.175, allocations: 19.98 kB / 1.314 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/1.177, allocations: 0.5507 MB / 1.315 GB, free: 3.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/1.179, allocations: 455.2 kB / 1.315 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/1.181, allocations: 2.588 MB / 1.318 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/1.184, allocations: 273.8 kB / 1.318 GB, free: 15.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/1.184, allocations: 127.9 kB / 1.318 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003189/1.187, allocations: 1.546 MB / 1.319 GB, free: 13.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00253/1.19, allocations: 1.561 MB / 1.321 GB, free: 12.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004425/1.194, allocations: 2.356 MB / 1.323 GB, free: 9.516 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.229e-05/1.194, allocations: 12 kB / 1.323 GB, free: 9.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=224) (initialization_lambda0): time 0.00747/1.202, allocations: 3.126 MB / 1.326 GB, free: 6.359 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.202, allocations: 16 kB / 1.326 GB, free: 6.344 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/1.202, allocations: 19.94 kB / 1.326 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002287/1.204, allocations: 0.6597 MB / 1.327 GB, free: 5.652 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/1.206, allocations: 419.4 kB / 1.327 GB, free: 5.242 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.221, allocations: 11.84 MB / 1.339 GB, free: 8.727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/1.223, allocations: 214.6 kB / 1.339 GB, free: 8.516 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/1.223, allocations: 120 kB / 1.339 GB, free: 8.398 MB / 1.076 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 (196): * Single equations (assignments): 188 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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.0005296/1.224, allocations: 296.8 kB / 1.34 GB, free: 8.102 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006123/1.225, allocations: 339.6 kB / 1.34 GB, free: 7.766 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006601/1.231, allocations: 2.643 MB / 1.342 GB, free: 5.094 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/1.231, allocations: 12 kB / 1.342 GB, free: 5.082 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.231, allocations: 0 / 1.342 GB, free: 5.082 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/1.231, allocations: 15.91 kB / 1.343 GB, free: 5.066 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009755/1.241, allocations: 4.779 MB / 1.347 GB, free: 216 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/1.241, allocations: 0 / 1.347 GB, free: 216 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/1.243, allocations: 271.6 kB / 1.347 GB, free: 15.95 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008973/1.243, allocations: 335.1 kB / 1.348 GB, free: 15.61 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/1.244, allocations: 39.95 kB / 1.348 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/1.245, allocations: 2.506 MB / 1.35 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.245, allocations: 256 / 1.35 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006059/1.251, allocations: 2.409 MB / 1.353 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/1.253, allocations: 0.5821 MB / 1.353 GB, free: 9.902 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004135/1.253, allocations: 24 kB / 1.353 GB, free: 9.879 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.255, allocations: 111.9 kB / 1.353 GB, free: 9.77 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/1.255, allocations: 89.06 kB / 1.353 GB, free: 9.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/1.255, allocations: 67.94 kB / 1.353 GB, free: 9.613 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003645/1.259, allocations: 2.175 MB / 1.356 GB, free: 7.43 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.265e-06/1.259, allocations: 0 / 1.356 GB, free: 7.43 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.005231/1.264, allocations: 1.719 MB / 1.357 GB, free: 5.707 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 (109): * Single equations (assignments): 96 * 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.00704/1.271, allocations: 3.396 MB / 1.361 GB, free: 2.273 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.009913/1.281, allocations: 4.252 MB / 1.365 GB, free: 13.97 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.281, allocations: 0 / 1.365 GB, free: 13.97 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002519/1.284, allocations: 0.9327 MB / 1.366 GB, free: 13.04 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006398/1.29, allocations: 1.65 MB / 1.367 GB, free: 11.42 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05334/1.344, allocations: 26.26 MB / 1.393 GB, free: 456 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/1.345, allocations: 2.16 MB / 1.395 GB, free: 14.26 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.003225/1.349, allocations: 0.8206 MB / 1.396 GB, free: 13.44 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002032/1.351, allocations: 1.55 MB / 1.397 GB, free: 11.89 MB / 1.139 GB Notification: Performance of SimCode: time 2.405e-06/1.351, allocations: 0 / 1.397 GB, free: 11.89 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1504/1.501, allocations: 99.56 MB / 1.495 GB, free: 9.559 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.28/20.78, allocations: 11.81 kB / 1.495 GB, free: 9.555 MB / 1.232 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveConstruction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches