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.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: 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.005407/0.005407, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001175/0.001176, allocations: 193.9 kB / 16.67 MB, free: 6.379 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.354/2.354, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.78 kB / 0.9508 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2877, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.07333/0.3611, allocations: 78.05 MB / 1.164 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03526/0.3964, allocations: 25.95 MB / 1.189 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005522/0.4019, allocations: 115.4 kB / 1.19 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005359/0.4073, allocations: 1.646 MB / 1.191 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/0.4177, allocations: 3.496 MB / 1.195 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008199/0.4259, allocations: 2.955 MB / 1.197 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01113/0.4371, allocations: 7.006 MB / 1.204 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004566/0.4417, allocations: 2.644 MB / 1.207 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007346/0.449, allocations: 2.943 MB / 1.21 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004357/0.4534, allocations: 2.244 MB / 1.212 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001404/0.4548, allocations: 316 kB / 1.212 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007941/0.4628, allocations: 2.161 MB / 1.214 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002594/0.4654, allocations: 1.281 MB / 1.216 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004963/0.4704, allocations: 1.99 MB / 1.218 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.4845, allocations: 6.095 MB / 1.224 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4846, allocations: 4 kB / 1.224 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4846, allocations: 0 / 1.224 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001349/0.4847, allocations: 0 / 1.224 GB, free: 6.184 MB / 0.9825 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.01343/0.4982, allocations: 4.483 MB / 1.228 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4982, allocations: 8.031 kB / 1.228 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008479/0.5067, allocations: 1.186 MB / 1.229 GB, free: 440 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007627/0.5144, allocations: 3.862 MB / 1.233 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.5145, allocations: 139.1 kB / 1.233 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.5148, allocations: 183.9 kB / 1.233 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00487/0.5197, allocations: 2.481 MB / 1.236 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.5197, allocations: 11.94 kB / 1.236 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.5199, allocations: 60 kB / 1.236 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.52, allocations: 40 kB / 1.236 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005423/0.5254, allocations: 2.037 MB / 1.238 GB, free: 7.465 MB / 0.9981 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.01528/0.5407, allocations: 10.86 MB / 1.248 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005002/0.5457, allocations: 1.737 MB / 1.25 GB, free: 10.27 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.5479, allocations: 0.8269 MB / 1.251 GB, free: 9.438 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005729/0.5536, allocations: 3.746 MB / 1.254 GB, free: 5.422 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.5537, allocations: 39.22 kB / 1.254 GB, free: 5.375 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 2.926e-06/0.5537, allocations: 0 / 1.254 GB, free: 5.375 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.008555/0.5623, allocations: 2.807 MB / 1.257 GB, free: 2.535 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.5623, allocations: 64.06 kB / 1.257 GB, free: 2.461 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6467/1.209, allocations: 3.732 MB / 1.261 GB, free: 162.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004396/1.21, allocations: 49.27 kB / 1.261 GB, free: 162.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001429/1.211, allocations: 1.582 MB / 1.263 GB, free: 161.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/1.211, allocations: 270.7 kB / 1.263 GB, free: 161.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007422/1.212, allocations: 387.7 kB / 1.263 GB, free: 161.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.442e-05/1.212, allocations: 301.9 kB / 1.263 GB, free: 161.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003289/1.215, allocations: 1.351 MB / 1.265 GB, free: 160.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003768/1.219, allocations: 2.062 MB / 1.267 GB, free: 159.5 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006909/1.226, allocations: 3.301 MB / 1.27 GB, free: 157.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.918e-05/1.226, allocations: 6.031 kB / 1.27 GB, free: 157.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.009722/1.236, allocations: 3.782 MB / 1.274 GB, free: 156.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/1.236, allocations: 13.75 kB / 1.274 GB, free: 156.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.043e-05/1.236, allocations: 20.62 kB / 1.274 GB, free: 156.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007261/1.237, allocations: 304.2 kB / 1.274 GB, free: 156.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/1.239, allocations: 471 kB / 1.274 GB, free: 156.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009386/1.24, allocations: 0.8211 MB / 1.275 GB, free: 155.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/1.243, allocations: 310.4 kB / 1.276 GB, free: 155.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003782/1.243, allocations: 137.4 kB / 1.276 GB, free: 155.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0042/1.248, allocations: 1.814 MB / 1.277 GB, free: 154.9 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002979/1.251, allocations: 1.822 MB / 1.279 GB, free: 153.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005261/1.256, allocations: 2.85 MB / 1.282 GB, free: 152 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-05/1.256, allocations: 10.38 kB / 1.282 GB, free: 152 MB / 1.014 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.007949/1.264, allocations: 3.328 MB / 1.285 GB, free: 150.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/1.264, allocations: 18.7 kB / 1.285 GB, free: 150.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-05/1.264, allocations: 23.84 kB / 1.285 GB, free: 150.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/1.265, allocations: 391.5 kB / 1.286 GB, free: 150.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.267, allocations: 436.2 kB / 1.286 GB, free: 150.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007014/1.274, allocations: 5.008 MB / 1.291 GB, free: 147.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/1.277, allocations: 246.4 kB / 1.291 GB, free: 147.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000334/1.277, allocations: 128 kB / 1.291 GB, free: 147.6 MB / 1.014 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 (177): * Single equations (assignments): 173 * 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.0006701/1.278, allocations: 284.6 kB / 1.292 GB, free: 147.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006788/1.279, allocations: 323.3 kB / 1.292 GB, free: 147.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007146/1.286, allocations: 2.428 MB / 1.294 GB, free: 146.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.286, allocations: 15.38 kB / 1.294 GB, free: 146.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.286, allocations: 0 / 1.294 GB, free: 146.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/1.286, allocations: 9.828 kB / 1.294 GB, free: 146.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/1.297, allocations: 4.611 MB / 1.299 GB, free: 144.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.297, allocations: 1.094 kB / 1.299 GB, free: 144.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.299, allocations: 294.4 kB / 1.299 GB, free: 144.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003783/1.299, allocations: 133.4 kB / 1.299 GB, free: 144.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/1.299, allocations: 38.5 kB / 1.299 GB, free: 144.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005636/1.3, allocations: 0.7289 MB / 1.3 GB, free: 143.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.3, allocations: 1.438 kB / 1.3 GB, free: 143.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008703/1.308, allocations: 3.37 MB / 1.303 GB, free: 142.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.31, allocations: 0.5715 MB / 1.304 GB, free: 142.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004945/1.311, allocations: 19.94 kB / 1.304 GB, free: 142.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.312, allocations: 158 kB / 1.304 GB, free: 142.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/1.313, allocations: 59.22 kB / 1.304 GB, free: 142.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/1.313, allocations: 58.47 kB / 1.304 GB, free: 142.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003542/1.316, allocations: 2.572 MB / 1.307 GB, free: 141.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.41e-07/1.316, allocations: 0 / 1.307 GB, free: 141.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004696/1.321, allocations: 1.514 MB / 1.308 GB, free: 140.8 MB / 1.014 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 (90): * Single equations (assignments): 81 * 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.001604/1.323, allocations: 0.6578 MB / 1.309 GB, free: 140.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008944/1.332, allocations: 4.2 MB / 1.313 GB, free: 139.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.332, allocations: 0 / 1.313 GB, free: 139.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002554/1.334, allocations: 0.9367 MB / 1.314 GB, free: 139 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006332/1.341, allocations: 1.737 MB / 1.315 GB, free: 137.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008471/1.349, allocations: 5.748 MB / 1.321 GB, free: 131.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.35, allocations: 2.114 MB / 1.323 GB, free: 129.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002897/1.353, allocations: 0.8124 MB / 1.324 GB, free: 129 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/1.354, allocations: 259.3 kB / 1.324 GB, free: 128.7 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/1.354, allocations: 0 / 1.324 GB, free: 128.7 MB / 1.014 GB Notification: Performance of Templates: time 0.09361/1.447, allocations: 73.54 MB / 1.396 GB, free: 56.41 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches