Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dy.y|ddp_dm_flow.y|dm_flow_dy.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007367/0.007367, allocations: 102 kB / 15.73 MB, free: 5.973 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.001648/0.001648, allocations: 193.5 kB / 16.67 MB, free: 5.895 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.677/2.677, allocations: 469.8 MB / 0.7425 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.83 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8725/0.8738, allocations: 159.1 MB / 1.221 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07698/0.9508, allocations: 79.5 MB / 1.298 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04038/0.9911, allocations: 28.48 MB / 1.326 GB, free: 5.816 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004724/0.9959, allocations: 119.4 kB / 1.326 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.007419/1.003, allocations: 2.654 MB / 1.329 GB, free: 3.035 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01038/1.014, allocations: 4.001 MB / 1.333 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.007464/1.021, allocations: 3.182 MB / 1.336 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.03067/1.052, allocations: 22.6 MB / 1.358 GB, free: 5.207 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003996/1.056, allocations: 2.278 MB / 1.36 GB, free: 2.867 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007036/1.063, allocations: 3.195 MB / 1.363 GB, free: 15.67 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004151/1.067, allocations: 2.576 MB / 1.366 GB, free: 13.08 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008302/1.068, allocations: 372 kB / 1.366 GB, free: 12.72 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005226/1.073, allocations: 2.364 MB / 1.368 GB, free: 10.35 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001838/1.075, allocations: 1.85 MB / 1.37 GB, free: 8.496 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00362/1.079, allocations: 2.643 MB / 1.373 GB, free: 5.84 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/1.089, allocations: 7.893 MB / 1.38 GB, free: 13.92 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.089, allocations: 0 / 1.38 GB, free: 13.92 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.645e-06/1.089, allocations: 4 kB / 1.38 GB, free: 13.91 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001441/1.089, allocations: 0 / 1.38 GB, free: 13.91 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: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.0111/1.101, allocations: 6.017 MB / 1.386 GB, free: 7.793 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.101, allocations: 8.031 kB / 1.386 GB, free: 7.785 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008839/1.109, allocations: 1.569 MB / 1.388 GB, free: 6.211 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/1.123, allocations: 7.511 MB / 1.395 GB, free: 14.64 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/1.123, allocations: 139.2 kB / 1.395 GB, free: 14.5 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003999/1.123, allocations: 191.9 kB / 1.396 GB, free: 14.31 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/1.128, allocations: 2.603 MB / 1.398 GB, free: 11.61 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.405e-05/1.129, allocations: 7.938 kB / 1.398 GB, free: 11.61 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/1.129, allocations: 64 kB / 1.398 GB, free: 11.54 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/1.129, allocations: 43.94 kB / 1.398 GB, free: 11.5 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005415/1.134, allocations: 2.018 MB / 1.4 GB, free: 9.477 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.02103/1.155, allocations: 11.76 MB / 1.412 GB, free: 13.12 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005123/1.16, allocations: 1.649 MB / 1.413 GB, free: 11.47 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/1.162, allocations: 0.7528 MB / 1.414 GB, free: 10.72 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007327/1.17, allocations: 4.077 MB / 1.418 GB, free: 6.367 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.17, allocations: 47.14 kB / 1.418 GB, free: 6.312 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/1.17, allocations: 0 / 1.418 GB, free: 6.312 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.008532/1.178, allocations: 2.812 MB / 1.421 GB, free: 3.473 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/1.178, allocations: 60.06 kB / 1.421 GB, free: 3.398 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/1.191, allocations: 5.682 MB / 1.426 GB, free: 13.74 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005234/1.191, allocations: 53.7 kB / 1.426 GB, free: 13.68 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002905/1.194, allocations: 2.057 MB / 1.428 GB, free: 11.61 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008111/1.195, allocations: 317.4 kB / 1.429 GB, free: 11.3 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00209/1.197, allocations: 0.7052 MB / 1.429 GB, free: 10.58 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.197, allocations: 305.1 kB / 1.43 GB, free: 10.28 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003935/1.201, allocations: 2.035 MB / 1.432 GB, free: 8.234 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004658/1.206, allocations: 2.907 MB / 1.435 GB, free: 4.977 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007737/1.213, allocations: 4.589 MB / 1.439 GB, free: 100 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-05/1.214, allocations: 8 kB / 1.439 GB, free: 92 kB / 1.154 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01088/1.224, allocations: 5.598 MB / 1.444 GB, free: 10.47 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/1.224, allocations: 16 kB / 1.445 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/1.224, allocations: 24.16 kB / 1.445 GB, free: 10.43 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000899/1.225, allocations: 416.6 kB / 1.445 GB, free: 10.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002529/1.228, allocations: 0.5812 MB / 1.445 GB, free: 9.441 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009952/1.229, allocations: 0.9035 MB / 1.446 GB, free: 8.512 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/1.233, allocations: 410.2 kB / 1.447 GB, free: 8.109 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/1.233, allocations: 152 kB / 1.447 GB, free: 7.961 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005345/1.238, allocations: 2.855 MB / 1.45 GB, free: 5.098 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004055/1.243, allocations: 2.687 MB / 1.452 GB, free: 2.062 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006586/1.249, allocations: 4.141 MB / 1.456 GB, free: 13.63 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-05/1.249, allocations: 8 kB / 1.456 GB, free: 13.62 MB / 1.186 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.009818/1.259, allocations: 5.175 MB / 1.461 GB, free: 8.418 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.259, allocations: 12 kB / 1.461 GB, free: 8.406 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-05/1.259, allocations: 27.94 kB / 1.461 GB, free: 8.379 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.26, allocations: 457.2 kB / 1.462 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/1.262, allocations: 0.5577 MB / 1.462 GB, free: 7.371 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008672/1.271, allocations: 6.121 MB / 1.468 GB, free: 1.035 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/1.275, allocations: 326.5 kB / 1.469 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004623/1.276, allocations: 140 kB / 1.469 GB, free: 0.5781 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (281): * Single equations (assignments): 274 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007946/1.276, allocations: 323.4 kB / 1.469 GB, free: 260 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.278, allocations: 460.9 kB / 1.47 GB, free: 15.8 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006999/1.285, allocations: 2.48 MB / 1.472 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/1.285, allocations: 12 kB / 1.472 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.285, allocations: 4 kB / 1.472 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.285, allocations: 7.969 kB / 1.472 GB, free: 13.28 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/1.298, allocations: 5.148 MB / 1.477 GB, free: 8.055 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.298, allocations: 8.062 kB / 1.477 GB, free: 8.047 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.299, allocations: 255.6 kB / 1.477 GB, free: 7.797 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004019/1.3, allocations: 172.7 kB / 1.478 GB, free: 7.625 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/1.3, allocations: 31.97 kB / 1.478 GB, free: 7.594 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007289/1.3, allocations: 0.81 MB / 1.478 GB, free: 6.758 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.3, allocations: 11.88 kB / 1.478 GB, free: 6.746 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008328/1.309, allocations: 3.427 MB / 1.482 GB, free: 3.281 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002075/1.311, allocations: 0.767 MB / 1.482 GB, free: 2.492 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/1.312, allocations: 28 kB / 1.482 GB, free: 2.465 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002765/1.315, allocations: 139.8 kB / 1.483 GB, free: 2.328 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/1.315, allocations: 68.84 kB / 1.483 GB, free: 2.262 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.315, allocations: 59.94 kB / 1.483 GB, free: 2.203 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.008166/1.323, allocations: 3.86 MB / 1.486 GB, free: 14.37 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.01e-07/1.323, allocations: 0 / 1.486 GB, free: 14.37 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.008718/1.332, allocations: 1.946 MB / 1.488 GB, free: 12.42 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dy.x,dm_flow_dy.x) * 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 (96): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002339/1.334, allocations: 0.8231 MB / 1.489 GB, free: 11.6 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01126/1.346, allocations: 5.385 MB / 1.494 GB, free: 6.215 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.346, allocations: 3.938 kB / 1.494 GB, free: 6.211 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002481/1.348, allocations: 0.8426 MB / 1.495 GB, free: 5.371 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01052/1.359, allocations: 2.4 MB / 1.498 GB, free: 3.027 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/1.375, allocations: 7.868 MB / 1.505 GB, free: 11.11 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003222/1.378, allocations: 2.663 MB / 1.508 GB, free: 8.41 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.005091/1.383, allocations: 1.208 MB / 1.509 GB, free: 7.195 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/1.385, allocations: 351.3 kB / 1.509 GB, free: 6.852 MB / 1.232 GB Notification: Performance of SimCode: time 1.443e-06/1.385, allocations: 0 / 1.509 GB, free: 6.852 MB / 1.232 GB Notification: Performance of Templates: time 0.7625/2.147, allocations: 95.29 MB / 1.602 GB, free: 308.2 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches