Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PowerExact,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_y.P|pump_dp.P|pump_m_flow.P|pump_y.per.speed_nominal|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact") translateModel(Buildings.Fluid.Movers.Validation.PowerExact,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_y.P|pump_dp.P|pump_m_flow.P|pump_y.per.speed_nominal|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 109.2 kB / 16.41 MB, free: 6.441 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.001997/0.001997, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.358/1.358, 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 11.0.1-master/package.mo): time 2.636/2.636, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.84 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8705/0.8719, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PowerExact): time 0.0779/0.9499, allocations: 75.98 MB / 1.283 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04238/0.9923, allocations: 26.07 MB / 1.308 GB, free: 7.215 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006457/0.9988, allocations: 111.4 kB / 1.308 GB, free: 7.105 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.009353/1.008, allocations: 2.639 MB / 1.311 GB, free: 4.453 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01382/1.022, allocations: 4.253 MB / 1.315 GB, free: 188 kB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00959/1.032, allocations: 3.204 MB / 1.318 GB, free: 12.99 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.04021/1.072, allocations: 23.66 MB / 1.341 GB, free: 5.297 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007089/1.079, allocations: 3.227 MB / 1.344 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/1.09, allocations: 3.713 MB / 1.348 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006635/1.096, allocations: 3.098 MB / 1.351 GB, free: 11.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002235/1.099, allocations: 460 kB / 1.351 GB, free: 10.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008476/1.107, allocations: 2.722 MB / 1.354 GB, free: 8.008 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003948/1.111, allocations: 2.123 MB / 1.356 GB, free: 5.879 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.007958/1.119, allocations: 3.056 MB / 1.359 GB, free: 2.809 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01841/1.138, allocations: 9.304 MB / 1.368 GB, free: 9.477 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.138, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.104e-06/1.138, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000284/1.138, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.02522/1.163, allocations: 7.271 MB / 1.375 GB, free: 2.102 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.163, allocations: 12.03 kB / 1.375 GB, free: 2.09 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01077/1.174, allocations: 1.566 MB / 1.377 GB, free: 0.5156 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/1.196, allocations: 9.534 MB / 1.386 GB, free: 6.918 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004363/1.197, allocations: 231.8 kB / 1.386 GB, free: 6.676 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009149/1.198, allocations: 212 kB / 1.387 GB, free: 6.469 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008172/1.206, allocations: 3.259 MB / 1.39 GB, free: 3.125 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.236e-05/1.206, allocations: 0 / 1.39 GB, free: 3.125 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/1.207, allocations: 76 kB / 1.39 GB, free: 3.051 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.25e-05/1.207, allocations: 47.94 kB / 1.39 GB, free: 3.004 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006831/1.213, allocations: 2.476 MB / 1.392 GB, free: 0.5234 MB / 1.107 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.02794/1.241, allocations: 13.58 MB / 1.406 GB, free: 2.422 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007151/1.249, allocations: 1.978 MB / 1.407 GB, free: 448 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/1.251, allocations: 1.064 MB / 1.409 GB, free: 15.38 MB / 1.139 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 evalFunc (simulation): time 0.01205/1.263, allocations: 5.601 MB / 1.414 GB, free: 9.469 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/1.264, allocations: 39.56 kB / 1.414 GB, free: 9.422 MB / 1.139 GB Notification: Performance of pre-optimization done (n=89): time 3.216e-06/1.264, allocations: 0 / 1.414 GB, free: 9.422 MB / 1.139 GB Notification: Performance of matching and sorting (n=97): time 0.03548/1.299, allocations: 8.116 MB / 1.422 GB, free: 1.172 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/1.299, allocations: 60.41 kB / 1.422 GB, free: 1.102 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01623/1.315, allocations: 7.569 MB / 1.429 GB, free: 9.523 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0006168/1.316, allocations: 57.7 kB / 1.429 GB, free: 9.461 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.003404/1.32, allocations: 2.228 MB / 1.432 GB, free: 7.219 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008271/1.32, allocations: 351.1 kB / 1.432 GB, free: 6.871 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00245/1.323, allocations: 0.7643 MB / 1.433 GB, free: 6.098 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.323, allocations: 301.1 kB / 1.433 GB, free: 5.801 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004889/1.328, allocations: 2.767 MB / 1.436 GB, free: 3.023 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005897/1.334, allocations: 3.719 MB / 1.439 GB, free: 14.93 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/1.344, allocations: 6.094 MB / 1.445 GB, free: 8.512 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.482e-05/1.344, allocations: 8 kB / 1.445 GB, free: 8.504 MB / 1.17 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.02117/1.365, allocations: 8.041 MB / 1.453 GB, free: 408 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/1.365, allocations: 15.94 kB / 1.453 GB, free: 392 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-05/1.365, allocations: 24 kB / 1.453 GB, free: 368 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002935/1.368, allocations: 1.559 MB / 1.455 GB, free: 14.78 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00366/1.372, allocations: 0.6202 MB / 1.455 GB, free: 14.16 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01222/1.384, allocations: 10.3 MB / 1.465 GB, free: 3.285 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/1.39, allocations: 216.4 kB / 1.466 GB, free: 3.074 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000832/1.391, allocations: 175.9 kB / 1.466 GB, free: 2.902 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007092/1.398, allocations: 3.512 MB / 1.469 GB, free: 15.38 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005042/1.403, allocations: 3.247 MB / 1.472 GB, free: 11.77 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008393/1.411, allocations: 5.165 MB / 1.477 GB, free: 6.277 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.358e-05/1.411, allocations: 4 kB / 1.477 GB, free: 6.273 MB / 1.201 GB Notification: Performance of matching and sorting (n=427) (initialization_lambda0): time 0.01918/1.43, allocations: 6.95 MB / 1.484 GB, free: 15.26 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.736e-05/1.431, allocations: 20.78 kB / 1.484 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.007e-05/1.431, allocations: 20 kB / 1.484 GB, free: 15.22 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002883/1.434, allocations: 1.219 MB / 1.485 GB, free: 13.98 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/1.436, allocations: 0.5968 MB / 1.486 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/1.454, allocations: 12.82 MB / 1.499 GB, free: 15.87 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004872/1.459, allocations: 236 kB / 1.499 GB, free: 15.64 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006727/1.459, allocations: 160 kB / 1.499 GB, free: 15.48 MB / 1.232 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 (292): * Single equations (assignments): 277 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 6 systems {(1,2), (1,2), (1,1), (1,2), (1,1), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001164/1.461, allocations: 332.3 kB / 1.499 GB, free: 15.15 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/1.462, allocations: 473.6 kB / 1.5 GB, free: 14.68 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.476, allocations: 3.7 MB / 1.503 GB, free: 10.96 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.064e-05/1.476, allocations: 12 kB / 1.503 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.476, allocations: 0 / 1.503 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01175/1.488, allocations: 3.25 MB / 1.506 GB, free: 7.605 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/1.51, allocations: 7.066 MB / 1.513 GB, free: 456 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.51, allocations: 0 / 1.513 GB, free: 456 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/1.512, allocations: 363.5 kB / 1.514 GB, free: 92 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/1.514, allocations: 0.8806 MB / 1.515 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/1.514, allocations: 43.95 kB / 1.515 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005487/1.519, allocations: 5.105 MB / 1.52 GB, free: 9.902 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.519, allocations: 0 / 1.52 GB, free: 9.902 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01624/1.536, allocations: 5.007 MB / 1.524 GB, free: 4.84 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002577/1.538, allocations: 0.8654 MB / 1.525 GB, free: 3.949 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00153/1.54, allocations: 20 kB / 1.525 GB, free: 3.93 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003403/1.543, allocations: 155.8 kB / 1.526 GB, free: 3.777 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/1.544, allocations: 80.89 kB / 1.526 GB, free: 3.699 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.544, allocations: 71.94 kB / 1.526 GB, free: 3.629 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.009872/1.554, allocations: 5.315 MB / 1.531 GB, free: 14.31 MB / 1.264 GB Notification: Performance of sort global known variables: time 4.51e-07/1.554, allocations: 0 / 1.531 GB, free: 14.31 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00868/1.562, allocations: 2.027 MB / 1.533 GB, free: 12.29 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump_y.vol.dynBal.U,pump_dp.vol.dynBal.U,pump_m_flow.vol.dynBal.U) * 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 (110): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 3 systems {(1,1), (1,1), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002572/1.565, allocations: 0.8855 MB / 1.534 GB, free: 11.4 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01879/1.584, allocations: 8.446 MB / 1.542 GB, free: 2.871 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.584, allocations: 0 / 1.542 GB, free: 2.871 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003997/1.588, allocations: 1.298 MB / 1.543 GB, free: 1.57 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01367/1.602, allocations: 2.796 MB / 1.546 GB, free: 14.84 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01906/1.621, allocations: 8.85 MB / 1.555 GB, free: 5.961 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004283/1.625, allocations: 2.926 MB / 1.557 GB, free: 3.008 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/1.627, allocations: 395.2 kB / 1.558 GB, free: 2.621 MB / 1.279 GB Notification: Performance of SimCode: time 8.01e-07/1.627, allocations: 0 / 1.558 GB, free: 2.621 MB / 1.279 GB Notification: Performance of Templates: time 0.8379/2.465, allocations: 247.6 MB / 1.8 GB, free: 108.9 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PowerExact.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PowerExact.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches