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.001312/0.001312, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001413/0.001413, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.14 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.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9395/0.9408, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter forcedPump1.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.0895/1.03, allocations: 78.06 MB / 1.165 GB, free: 13.53 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.04742/1.078, allocations: 25.94 MB / 1.19 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007296/1.085, allocations: 117.4 kB / 1.19 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006737/1.092, allocations: 1.65 MB / 1.192 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01418/1.106, allocations: 3.479 MB / 1.195 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0107/1.117, allocations: 2.972 MB / 1.198 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01558/1.132, allocations: 6.997 MB / 1.205 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006926/1.139, allocations: 2.644 MB / 1.208 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/1.15, allocations: 3.025 MB / 1.211 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006247/1.156, allocations: 2.234 MB / 1.213 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001756/1.158, allocations: 318.4 kB / 1.213 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008522/1.167, allocations: 2.167 MB / 1.215 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.002754/1.17, allocations: 1.274 MB / 1.216 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00621/1.176, allocations: 1.99 MB / 1.218 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/1.191, allocations: 6.099 MB / 1.224 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.192, allocations: 0 / 1.224 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.763e-06/1.192, allocations: 0 / 1.224 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002378/1.192, allocations: 0 / 1.224 GB, free: 2.949 MB / 0.9512 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.01488/1.207, allocations: 4.487 MB / 1.229 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/1.207, allocations: 12.03 kB / 1.229 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007535/1.214, allocations: 1.182 MB / 1.23 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/1.226, allocations: 3.87 MB / 1.234 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/1.226, allocations: 135.1 kB / 1.234 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008218/1.227, allocations: 183.9 kB / 1.234 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007468/1.234, allocations: 2.481 MB / 1.236 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.214e-05/1.234, allocations: 3.938 kB / 1.236 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004263/1.235, allocations: 67.94 kB / 1.236 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/1.235, allocations: 40 kB / 1.236 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006746/1.242, allocations: 2.049 MB / 1.238 GB, free: 4.211 MB / 0.9669 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.02252/1.264, allocations: 10.84 MB / 1.249 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005917/1.27, allocations: 1.753 MB / 1.251 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002466/1.273, allocations: 0.8285 MB / 1.252 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008051/1.281, allocations: 3.738 MB / 1.255 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/1.281, allocations: 43.2 kB / 1.255 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=76): time 3.246e-06/1.281, allocations: 4 kB / 1.255 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76): time 0.009899/1.291, allocations: 2.795 MB / 1.258 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/1.291, allocations: 60.06 kB / 1.258 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008209/1.299, allocations: 3.74 MB / 1.262 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005046/1.3, allocations: 53.7 kB / 1.262 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001967/1.302, allocations: 1.576 MB / 1.263 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006957/1.302, allocations: 272.1 kB / 1.264 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/1.304, allocations: 387.2 kB / 1.264 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.304, allocations: 305.1 kB / 1.264 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/1.307, allocations: 1.355 MB / 1.266 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003811/1.311, allocations: 2.052 MB / 1.268 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006873/1.318, allocations: 3.307 MB / 1.271 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.034e-05/1.318, allocations: 8 kB / 1.271 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.009657/1.328, allocations: 3.775 MB / 1.274 GB, free: 13.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/1.328, allocations: 16 kB / 1.274 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.352e-05/1.328, allocations: 20 kB / 1.275 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008554/1.329, allocations: 308.7 kB / 1.275 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/1.331, allocations: 467.6 kB / 1.275 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009414/1.332, allocations: 0.8175 MB / 1.276 GB, free: 12.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/1.335, allocations: 314.5 kB / 1.276 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004453/1.336, allocations: 147.9 kB / 1.276 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004529/1.34, allocations: 1.804 MB / 1.278 GB, free: 9.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003372/1.344, allocations: 1.829 MB / 1.28 GB, free: 7.664 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005865/1.35, allocations: 2.847 MB / 1.283 GB, free: 4.523 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.538e-05/1.35, allocations: 4 kB / 1.283 GB, free: 4.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.008625/1.358, allocations: 3.333 MB / 1.286 GB, free: 1.172 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/1.358, allocations: 12 kB / 1.286 GB, free: 1.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/1.358, allocations: 24 kB / 1.286 GB, free: 1.137 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/1.36, allocations: 397.2 kB / 1.286 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/1.361, allocations: 439.3 kB / 1.287 GB, free: 324 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007272/1.369, allocations: 5.02 MB / 1.292 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/1.372, allocations: 239.5 kB / 1.292 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000514/1.373, allocations: 124 kB / 1.292 GB, free: 10.73 MB / 1.029 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.0008818/1.374, allocations: 291.6 kB / 1.292 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.375, allocations: 319.8 kB / 1.293 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007541/1.382, allocations: 2.432 MB / 1.295 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/1.382, allocations: 11.98 kB / 1.295 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.382, allocations: 4 kB / 1.295 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/1.382, allocations: 7.984 kB / 1.295 GB, free: 7.641 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.395, allocations: 4.602 MB / 1.3 GB, free: 2.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.395, allocations: 4 kB / 1.3 GB, free: 2.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.396, allocations: 279.7 kB / 1.3 GB, free: 2.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/1.397, allocations: 136.6 kB / 1.3 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.397, allocations: 35.95 kB / 1.3 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006595/1.397, allocations: 0.7397 MB / 1.301 GB, free: 1.742 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.397, allocations: 3.938 kB / 1.301 GB, free: 1.738 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009121/1.406, allocations: 3.359 MB / 1.304 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/1.409, allocations: 0.5746 MB / 1.305 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/1.41, allocations: 19.94 kB / 1.305 GB, free: 13.72 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/1.412, allocations: 151.8 kB / 1.305 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/1.412, allocations: 72.84 kB / 1.305 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/1.413, allocations: 55.95 kB / 1.305 GB, free: 13.45 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.005329/1.418, allocations: 2.573 MB / 1.307 GB, free: 10.86 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.31e-07/1.418, allocations: 0 / 1.307 GB, free: 10.86 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006753/1.425, allocations: 1.509 MB / 1.309 GB, free: 9.352 MB / 1.045 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.002235/1.427, allocations: 0.6735 MB / 1.31 GB, free: 8.676 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.438, allocations: 4.188 MB / 1.314 GB, free: 4.484 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.438, allocations: 0 / 1.314 GB, free: 4.484 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002868/1.441, allocations: 0.9311 MB / 1.315 GB, free: 3.555 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009112/1.45, allocations: 1.747 MB / 1.316 GB, free: 1.832 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.464, allocations: 5.861 MB / 1.322 GB, free: 11.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002893/1.467, allocations: 2.087 MB / 1.324 GB, free: 9.812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/1.468, allocations: 263.3 kB / 1.324 GB, free: 9.555 MB / 1.061 GB Notification: Performance of SimCode: time 1.764e-06/1.468, allocations: 0 / 1.324 GB, free: 9.555 MB / 1.061 GB Notification: Performance of Templates: time 0.1147/1.583, allocations: 74.97 MB / 1.397 GB, free: 15.19 MB / 1.139 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