Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 108 kB / 16.41 MB, free: 6.027 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.001349/0.001349, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.472/2.472, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 75.83 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7581/0.7595, allocations: 151.6 MB / 1.167 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06529/0.8248, allocations: 72.77 MB / 1.238 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02566/0.8505, allocations: 18.83 MB / 1.257 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/0.8541, allocations: 95.44 kB / 1.257 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005216/0.8593, allocations: 1.811 MB / 1.259 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006946/0.8663, allocations: 2.599 MB / 1.261 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00511/0.8714, allocations: 2.153 MB / 1.263 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01299/0.8844, allocations: 10.97 MB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007588/0.8921, allocations: 6.168 MB / 1.28 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006902/0.899, allocations: 3.358 MB / 1.283 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004344/0.9034, allocations: 2.571 MB / 1.286 GB, free: 10.33 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.9044, allocations: 268 kB / 1.286 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003974/0.9084, allocations: 1.552 MB / 1.288 GB, free: 8.512 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.9097, allocations: 0.9028 MB / 1.288 GB, free: 7.605 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003108/0.9128, allocations: 1.963 MB / 1.29 GB, free: 5.633 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007128/0.92, allocations: 5.351 MB / 1.296 GB, free: 272 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.92, allocations: 0 / 1.296 GB, free: 272 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.92, allocations: 0 / 1.296 GB, free: 272 kB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001077/0.9201, allocations: 0 / 1.296 GB, free: 272 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.007999/0.9281, allocations: 4.377 MB / 1.3 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.9282, allocations: 12.88 kB / 1.3 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.9312, allocations: 0.6745 MB / 1.301 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00714/0.9383, allocations: 3.808 MB / 1.304 GB, free: 7.238 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.9385, allocations: 139.2 kB / 1.304 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003034/0.9388, allocations: 187.9 kB / 1.305 GB, free: 6.918 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003694/0.9425, allocations: 2.352 MB / 1.307 GB, free: 4.406 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/0.9425, allocations: 11.94 kB / 1.307 GB, free: 4.395 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.9427, allocations: 72 kB / 1.307 GB, free: 4.324 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.9428, allocations: 40 kB / 1.307 GB, free: 4.285 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/0.9463, allocations: 1.908 MB / 1.309 GB, free: 2.371 MB / 1.029 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.01456/0.9608, allocations: 11.48 MB / 1.32 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00286/0.9637, allocations: 1.34 MB / 1.321 GB, free: 5.039 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.9654, allocations: 1.017 MB / 1.322 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00663/0.972, allocations: 3.73 MB / 1.326 GB, free: 24 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.9735, allocations: 0.7741 MB / 1.327 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001249/0.9748, allocations: 242.7 kB / 1.327 GB, free: 15 MB / 1.061 GB Notification: Performance of pre-optimization done (n=94): time 5.41e-06/0.9748, allocations: 0 / 1.327 GB, free: 15 MB / 1.061 GB Notification: Performance of matching and sorting (n=94): time 0.0113/0.9861, allocations: 4.243 MB / 1.331 GB, free: 10.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.9862, allocations: 60.41 kB / 1.331 GB, free: 10.63 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005111/0.9913, allocations: 3.478 MB / 1.335 GB, free: 7.125 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002166/0.9916, allocations: 53.7 kB / 1.335 GB, free: 7.066 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.9929, allocations: 1.56 MB / 1.336 GB, free: 5.488 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.9933, allocations: 343.2 kB / 1.336 GB, free: 5.148 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006935/0.994, allocations: 455.5 kB / 1.337 GB, free: 4.699 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.9941, allocations: 309.1 kB / 1.337 GB, free: 4.395 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.9957, allocations: 0.8605 MB / 1.338 GB, free: 3.531 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.9978, allocations: 1.682 MB / 1.34 GB, free: 1.488 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003352/1.001, allocations: 2.267 MB / 1.342 GB, free: 15.01 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/1.001, allocations: 4 kB / 1.342 GB, free: 15 MB / 1.076 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.00676/1.008, allocations: 3.334 MB / 1.345 GB, free: 11.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/1.008, allocations: 45.69 kB / 1.345 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/1.008, allocations: 12 kB / 1.345 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002368/1.01, allocations: 0.6924 MB / 1.346 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.012, allocations: 357.2 kB / 1.346 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/1.014, allocations: 1.893 MB / 1.348 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/1.016, allocations: 128.3 kB / 1.348 GB, free: 8.457 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/1.016, allocations: 95.97 kB / 1.348 GB, free: 8.363 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002739/1.019, allocations: 1.593 MB / 1.35 GB, free: 6.766 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001997/1.021, allocations: 1.645 MB / 1.351 GB, free: 4.758 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003132/1.024, allocations: 2.198 MB / 1.354 GB, free: 2.328 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.215e-05/1.024, allocations: 11.94 kB / 1.354 GB, free: 2.316 MB / 1.076 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006433/1.03, allocations: 3.214 MB / 1.357 GB, free: 15.06 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/1.03, allocations: 41.7 kB / 1.357 GB, free: 15.01 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/1.03, allocations: 16 kB / 1.357 GB, free: 15 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009642/1.031, allocations: 477.3 kB / 1.357 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.033, allocations: 345.3 kB / 1.358 GB, free: 14.19 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007058/1.04, allocations: 6.34 MB / 1.364 GB, free: 7.551 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/1.042, allocations: 145.4 kB / 1.364 GB, free: 7.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/1.043, allocations: 88.2 kB / 1.364 GB, free: 7.324 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 164 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005473/1.043, allocations: 299 kB / 1.364 GB, free: 7.027 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007887/1.044, allocations: 339.7 kB / 1.365 GB, free: 6.691 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005072/1.049, allocations: 2.451 MB / 1.367 GB, free: 4.219 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/1.049, allocations: 15.94 kB / 1.367 GB, free: 4.203 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.049, allocations: 0 / 1.367 GB, free: 4.203 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003413/1.052, allocations: 2.07 MB / 1.369 GB, free: 2.059 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008304/1.061, allocations: 4.592 MB / 1.374 GB, free: 13.39 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/1.061, allocations: 12 kB / 1.374 GB, free: 13.38 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008671/1.062, allocations: 169.6 kB / 1.374 GB, free: 13.21 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/1.063, allocations: 477.1 kB / 1.374 GB, free: 12.74 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.702e-05/1.063, allocations: 35.97 kB / 1.374 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/1.064, allocations: 1.854 MB / 1.376 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.064, allocations: 0 / 1.376 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/1.07, allocations: 3.175 MB / 1.379 GB, free: 7.586 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.071, allocations: 0.5279 MB / 1.38 GB, free: 7.035 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005672/1.072, allocations: 31.88 kB / 1.38 GB, free: 7.004 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.073, allocations: 79.84 kB / 1.38 GB, free: 6.926 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.073, allocations: 76.88 kB / 1.38 GB, free: 6.848 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/1.074, allocations: 43.98 kB / 1.38 GB, free: 6.805 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003446/1.077, allocations: 2.358 MB / 1.382 GB, free: 4.434 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.5e-07/1.077, allocations: 0 / 1.382 GB, free: 4.434 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004102/1.081, allocations: 1.509 MB / 1.384 GB, free: 2.922 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/1.083, allocations: 0.5822 MB / 1.384 GB, free: 2.336 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006564/1.089, allocations: 3.72 MB / 1.388 GB, free: 14.57 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.089, allocations: 4 kB / 1.388 GB, free: 14.57 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001553/1.091, allocations: 0.8073 MB / 1.389 GB, free: 13.76 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005819/1.097, allocations: 1.443 MB / 1.39 GB, free: 12.34 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.108, allocations: 6.046 MB / 1.396 GB, free: 6.262 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/1.11, allocations: 2.229 MB / 1.398 GB, free: 4 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008981/1.111, allocations: 263.3 kB / 1.398 GB, free: 3.742 MB / 1.123 GB Notification: Performance of SimCode: time 9.62e-07/1.111, allocations: 3.938 kB / 1.398 GB, free: 3.738 MB / 1.123 GB Notification: Performance of Templates: time 0.1033/1.214, allocations: 84.73 MB / 1.481 GB, free: 15.31 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example1v1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example1v1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches