Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001896/0.001896, allocations: 108 kB / 15.61 MB, free: 148 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.001793/0.001793, allocations: 196.8 kB / 16.53 MB, free: 6.656 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.737/2.737, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 62.19 kB / 0.9121 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3346, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives): time 0.0785/0.4132, allocations: 79.36 MB / 1.146 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04422/0.4574, allocations: 28.42 MB / 1.173 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006145/0.4636, allocations: 119.4 kB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.02151/0.4851, allocations: 11.46 MB / 1.185 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.4961, allocations: 3.774 MB / 1.188 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.008176/0.5043, allocations: 3.089 MB / 1.191 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.03264/0.537, allocations: 20.15 MB / 1.211 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005478/0.5425, allocations: 2.719 MB / 1.214 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008967/0.5515, allocations: 3.077 MB / 1.217 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/0.5563, allocations: 2.513 MB / 1.219 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001587/0.5579, allocations: 368 kB / 1.22 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007148/0.565, allocations: 2.933 MB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002415/0.5675, allocations: 1.799 MB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004401/0.5719, allocations: 2.631 MB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.5839, allocations: 8.229 MB / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.584, allocations: 0 / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.584, allocations: 0 / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000233/0.5842, allocations: 0 / 1.235 GB, free: 15.33 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: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01877/0.603, allocations: 5.85 MB / 1.241 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.6031, allocations: 8.031 kB / 1.241 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009636/0.6127, allocations: 1.543 MB / 1.242 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0165/0.6292, allocations: 7.093 MB / 1.249 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000559/0.6298, allocations: 203.8 kB / 1.249 GB, free: 472 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000771/0.6306, allocations: 188 kB / 1.249 GB, free: 284 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5819/1.213, allocations: 2.62 MB / 1.252 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/1.213, allocations: 3.453 kB / 1.252 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/1.213, allocations: 70.72 kB / 1.252 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/1.213, allocations: 41.09 kB / 1.252 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006862/1.22, allocations: 2.035 MB / 1.254 GB, free: 171.6 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.01751/1.237, allocations: 11.82 MB / 1.266 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005163/1.243, allocations: 1.744 MB / 1.267 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002148/1.245, allocations: 0.8016 MB / 1.268 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007016/1.252, allocations: 4.106 MB / 1.272 GB, free: 162 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/1.252, allocations: 44.78 kB / 1.272 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 3.145e-06/1.252, allocations: 0 / 1.272 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.008854/1.261, allocations: 2.82 MB / 1.275 GB, free: 161 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/1.261, allocations: 61.22 kB / 1.275 GB, free: 161 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/1.271, allocations: 5.535 MB / 1.28 GB, free: 159 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004485/1.272, allocations: 51.2 kB / 1.28 GB, free: 159 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001601/1.273, allocations: 2.017 MB / 1.282 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004291/1.274, allocations: 309.6 kB / 1.283 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/1.275, allocations: 0.7571 MB / 1.283 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/1.275, allocations: 309 kB / 1.284 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/1.279, allocations: 2.192 MB / 1.286 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004281/1.283, allocations: 3.088 MB / 1.289 GB, free: 154 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007481/1.29, allocations: 4.887 MB / 1.294 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.839e-05/1.29, allocations: 8.438 kB / 1.294 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01101/1.302, allocations: 5.949 MB / 1.299 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/1.302, allocations: 13.12 kB / 1.299 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.482e-05/1.302, allocations: 22.03 kB / 1.299 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008169/1.302, allocations: 418.4 kB / 1.3 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002476/1.305, allocations: 0.6222 MB / 1.3 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006873/1.306, allocations: 0.9046 MB / 1.301 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/1.31, allocations: 420.2 kB / 1.302 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002976/1.31, allocations: 166.4 kB / 1.302 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004331/1.314, allocations: 3.006 MB / 1.305 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003158/1.317, allocations: 2.875 MB / 1.308 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005633/1.323, allocations: 4.448 MB / 1.312 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.054e-05/1.323, allocations: 3.719 kB / 1.312 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=432) (initialization_lambda0): time 0.008656/1.332, allocations: 5.524 MB / 1.317 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.332, allocations: 20.03 kB / 1.317 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/1.332, allocations: 20.86 kB / 1.317 GB, free: 136.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009427/1.333, allocations: 452.5 kB / 1.318 GB, free: 136 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.335, allocations: 0.5976 MB / 1.318 GB, free: 135.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006669/1.342, allocations: 6.121 MB / 1.324 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/1.346, allocations: 344.2 kB / 1.325 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005033/1.346, allocations: 159.9 kB / 1.325 GB, free: 128.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (305): * Single equations (assignments): 295 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 6 * 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.0009146/1.347, allocations: 319.5 kB / 1.325 GB, free: 128.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.349, allocations: 442 kB / 1.326 GB, free: 127.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006416/1.355, allocations: 2.488 MB / 1.328 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.355, allocations: 19.94 kB / 1.328 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/1.355, allocations: 3.938 kB / 1.328 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/1.355, allocations: 7.969 kB / 1.328 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.367, allocations: 5.174 MB / 1.333 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.367, allocations: 0 / 1.333 GB, free: 120.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/1.368, allocations: 275.7 kB / 1.333 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/1.369, allocations: 160.7 kB / 1.334 GB, free: 119.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/1.369, allocations: 35.95 kB / 1.334 GB, free: 119.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005694/1.369, allocations: 0.8021 MB / 1.334 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.369, allocations: 4.062 kB / 1.334 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00767/1.377, allocations: 3.443 MB / 1.338 GB, free: 115.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.379, allocations: 0.7445 MB / 1.338 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/1.38, allocations: 23.98 kB / 1.338 GB, free: 114.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/1.382, allocations: 151.8 kB / 1.339 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/1.383, allocations: 64.91 kB / 1.339 GB, free: 114.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.383, allocations: 51.95 kB / 1.339 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005367/1.388, allocations: 3.727 MB / 1.342 GB, free: 110.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.4e-07/1.388, allocations: 4 kB / 1.342 GB, free: 110.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005287/1.393, allocations: 2.068 MB / 1.344 GB, free: 108.6 MB / 0.9981 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.001815/1.395, allocations: 0.9069 MB / 1.345 GB, free: 107.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.405, allocations: 6.302 MB / 1.351 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.405, allocations: 0 / 1.351 GB, free: 101.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/1.407, allocations: 0.8897 MB / 1.352 GB, free: 100.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008335/1.416, allocations: 2.367 MB / 1.355 GB, free: 98.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/1.429, allocations: 7.964 MB / 1.362 GB, free: 90.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/1.431, allocations: 2.671 MB / 1.365 GB, free: 87.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004907/1.436, allocations: 1.2 MB / 1.366 GB, free: 86.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009499/1.436, allocations: 343.3 kB / 1.367 GB, free: 86.14 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.436, allocations: 0 / 1.367 GB, free: 86.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.1335/1.57, allocations: 101.1 MB / 1.465 GB, free: 2.234 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches