Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dNrpm.y|ddp_dm_flow.y|dm_flow_dNrpm.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ddp_dNrpm.y|ddp_dm_flow.y|dm_flow_dNrpm.y",fileNamePrefix="Buildings_9_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.001201/0.001201, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003718, allocations: 11.98 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7433/0.7437, allocations: 142.4 MB / 0.9557 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07121/0.8149, allocations: 76.03 MB / 1.03 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03665/0.8516, allocations: 25.66 MB / 1.055 GB, free: 9.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005651/0.8573, allocations: 99.38 kB / 1.055 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005191/0.8626, allocations: 1.415 MB / 1.056 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.8731, allocations: 3.255 MB / 1.06 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008223/0.8814, allocations: 2.658 MB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01343/0.8948, allocations: 9.497 MB / 1.072 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004291/0.8991, allocations: 2.206 MB / 1.074 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006691/0.9058, allocations: 2.485 MB / 1.076 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004284/0.9102, allocations: 2.201 MB / 1.078 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0008199/0.911, allocations: 132 kB / 1.078 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005143/0.9162, allocations: 2.012 MB / 1.08 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.9177, allocations: 1.094 MB / 1.081 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002798/0.9205, allocations: 1.796 MB / 1.083 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006091/0.9266, allocations: 4.613 MB / 1.088 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9267, allocations: 0 / 1.088 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9267, allocations: 0 / 1.088 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001432/0.9268, allocations: 0 / 1.088 GB, free: 7.781 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.008804/0.9356, allocations: 4.05 MB / 1.092 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.9357, allocations: 16.03 kB / 1.092 GB, free: 3.648 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007007/0.9427, allocations: 1.261 MB / 1.093 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008469/0.9512, allocations: 3.896 MB / 1.097 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/0.9523, allocations: 335.6 kB / 1.097 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005455/0.9529, allocations: 180 kB / 1.097 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005764/0.9586, allocations: 2.541 MB / 1.1 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/0.9587, allocations: 3.938 kB / 1.1 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.9589, allocations: 64 kB / 1.1 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.959, allocations: 39.98 kB / 1.1 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006131/0.9651, allocations: 2.178 MB / 1.102 GB, free: 9.016 MB / 0.8575 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.01831/0.9834, allocations: 10.77 MB / 1.112 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005705/0.9892, allocations: 1.917 MB / 1.114 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/0.9918, allocations: 0.9128 MB / 1.115 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006567/0.9984, allocations: 3.801 MB / 1.119 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.9985, allocations: 47.14 kB / 1.119 GB, free: 6.695 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001211/0.9997, allocations: 182.6 kB / 1.119 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 3.907e-06/0.9997, allocations: 0 / 1.119 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.009662/1.009, allocations: 3.045 MB / 1.122 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.009, allocations: 64 kB / 1.122 GB, free: 3.363 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006141/1.016, allocations: 3.694 MB / 1.126 GB, free: 15.64 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004255/1.016, allocations: 53.7 kB / 1.126 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/1.018, allocations: 1.572 MB / 1.127 GB, free: 14 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005578/1.018, allocations: 284 kB / 1.128 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/1.019, allocations: 157.6 kB / 1.128 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.019, allocations: 305.1 kB / 1.128 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0035/1.022, allocations: 1.417 MB / 1.129 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003916/1.026, allocations: 2.143 MB / 1.132 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007358/1.034, allocations: 3.46 MB / 1.135 GB, free: 5.613 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/1.034, allocations: 8 kB / 1.135 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009697/1.043, allocations: 3.93 MB / 1.139 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006179/1.044, allocations: 0.7131 MB / 1.139 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-05/1.044, allocations: 24 kB / 1.139 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000768/1.045, allocations: 308.7 kB / 1.14 GB, free: 332 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/1.047, allocations: 499.2 kB / 1.14 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008682/1.048, allocations: 0.8177 MB / 1.141 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003539/1.052, allocations: 272.3 kB / 1.141 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004504/1.052, allocations: 132 kB / 1.141 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/1.052, allocations: 4 kB / 1.141 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00751/1.06, allocations: 3.167 MB / 1.145 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-05/1.06, allocations: 20 kB / 1.145 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/1.061, allocations: 393 kB / 1.145 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/1.063, allocations: 471.3 kB / 1.145 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00684/1.07, allocations: 4.539 MB / 1.15 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/1.073, allocations: 244.5 kB / 1.15 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004634/1.074, allocations: 120 kB / 1.15 GB, free: 5.434 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (180): * Single equations (assignments): 176 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * 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.002242/1.076, allocations: 0.8947 MB / 1.151 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009224/1.077, allocations: 319.8 kB / 1.151 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007784/1.085, allocations: 2.612 MB / 1.154 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/1.085, allocations: 12 kB / 1.154 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.085, allocations: 0 / 1.154 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/1.085, allocations: 11.97 kB / 1.154 GB, free: 1.555 MB / 0.9044 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 postOpt removeSimpleEquations (simulation): time 0.01323/1.098, allocations: 4.821 MB / 1.159 GB, free: 12.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/1.098, allocations: 8.031 kB / 1.159 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.1, allocations: 311.6 kB / 1.159 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004212/1.1, allocations: 140.7 kB / 1.159 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/1.1, allocations: 35.97 kB / 1.159 GB, free: 12.17 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006796/1.101, allocations: 0.7396 MB / 1.16 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.101, allocations: 0 / 1.16 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009782/1.111, allocations: 3.562 MB / 1.163 GB, free: 7.805 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/1.113, allocations: 0.563 MB / 1.164 GB, free: 7.219 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009724/1.114, allocations: 23.94 kB / 1.164 GB, free: 7.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/1.117, allocations: 251.6 kB / 1.164 GB, free: 6.949 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/1.117, allocations: 72.78 kB / 1.164 GB, free: 6.875 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/1.117, allocations: 55.95 kB / 1.164 GB, free: 6.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.005267/1.122, allocations: 2.538 MB / 1.167 GB, free: 4.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.51e-07/1.122, allocations: 4 kB / 1.167 GB, free: 4.266 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006526/1.129, allocations: 1.513 MB / 1.168 GB, free: 2.75 MB / 0.92 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_dNrpm.x,dm_flow_dNrpm.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 (93): * Single equations (assignments): 84 * 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.00209/1.131, allocations: 0.6247 MB / 1.169 GB, free: 2.121 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.142, allocations: 4.415 MB / 1.173 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.142, allocations: 0 / 1.173 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003099/1.145, allocations: 1.002 MB / 1.174 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009413/1.155, allocations: 1.624 MB / 1.176 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/1.17, allocations: 7.094 MB / 1.183 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/1.172, allocations: 2.087 MB / 1.185 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/1.174, allocations: 263.3 kB / 1.185 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of SimCode: time 8.41e-07/1.174, allocations: 4 kB / 1.185 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of Templates: time 0.6678/1.842, allocations: 73.61 MB / 1.257 GB, free: 267 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches