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.001674/0.001674, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.00181/0.001811, allocations: 188 kB / 17.34 MB, free: 5.738 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.535/1.535, 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 10.1.1-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 75.88 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7919/0.7938, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.07622/0.8701, allocations: 72.79 MB / 1.238 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02836/0.8985, allocations: 18.83 MB / 1.257 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003223/0.9017, allocations: 95.44 kB / 1.257 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005248/0.907, allocations: 1.825 MB / 1.259 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007391/0.9144, allocations: 2.599 MB / 1.261 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005438/0.9199, allocations: 2.159 MB / 1.263 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01458/0.9344, allocations: 10.98 MB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009264/0.9437, allocations: 6.191 MB / 1.28 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009414/0.9532, allocations: 3.354 MB / 1.283 GB, free: 12.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005008/0.9582, allocations: 2.568 MB / 1.286 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008009/0.959, allocations: 268 kB / 1.286 GB, free: 9.816 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004115/0.9632, allocations: 1.56 MB / 1.288 GB, free: 8.254 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001066/0.9643, allocations: 0.9029 MB / 1.289 GB, free: 7.348 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003213/0.9675, allocations: 1.955 MB / 1.29 GB, free: 5.383 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008975/0.9765, allocations: 5.374 MB / 1.296 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9765, allocations: 0 / 1.296 GB, free: 15.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9765, allocations: 0 / 1.296 GB, free: 15.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001225/0.9766, allocations: 3.984 kB / 1.296 GB, free: 15.98 MB / 1.029 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.009006/0.9857, allocations: 4.507 MB / 1.3 GB, free: 11.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.9857, allocations: 12.88 kB / 1.3 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/0.9889, allocations: 0.6923 MB / 1.301 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007969/0.9969, allocations: 3.851 MB / 1.305 GB, free: 6.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.9971, allocations: 139.2 kB / 1.305 GB, free: 6.633 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000394/0.9975, allocations: 188 kB / 1.305 GB, free: 6.449 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004573/1.002, allocations: 2.352 MB / 1.307 GB, free: 3.938 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.917e-05/1.002, allocations: 11.88 kB / 1.307 GB, free: 3.926 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/1.002, allocations: 64 kB / 1.307 GB, free: 3.863 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/1.002, allocations: 40 kB / 1.307 GB, free: 3.824 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004063/1.006, allocations: 1.911 MB / 1.309 GB, free: 1.906 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.01753/1.024, allocations: 11.5 MB / 1.32 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00307/1.027, allocations: 1.336 MB / 1.322 GB, free: 4.562 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/1.029, allocations: 1.021 MB / 1.323 GB, free: 3.543 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007184/1.036, allocations: 3.734 MB / 1.326 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001584/1.038, allocations: 0.7663 MB / 1.327 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00145/1.039, allocations: 247 kB / 1.327 GB, free: 14.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=94): time 3.818e-06/1.039, allocations: 0 / 1.327 GB, free: 14.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=94): time 0.01297/1.052, allocations: 4.263 MB / 1.331 GB, free: 10.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/1.052, allocations: 64.41 kB / 1.332 GB, free: 10.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006077/1.058, allocations: 3.479 MB / 1.335 GB, free: 6.621 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003949/1.059, allocations: 57.7 kB / 1.335 GB, free: 6.559 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/1.061, allocations: 1.582 MB / 1.337 GB, free: 4.961 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/1.061, allocations: 357 kB / 1.337 GB, free: 4.609 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007319/1.062, allocations: 459.6 kB / 1.337 GB, free: 4.156 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.062, allocations: 301.1 kB / 1.338 GB, free: 3.859 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/1.064, allocations: 0.8722 MB / 1.338 GB, free: 2.984 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002479/1.066, allocations: 1.671 MB / 1.34 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/1.07, allocations: 2.267 MB / 1.342 GB, free: 14.47 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/1.07, allocations: 4 kB / 1.342 GB, free: 14.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.007409/1.078, allocations: 3.359 MB / 1.346 GB, free: 11.08 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/1.078, allocations: 41.64 kB / 1.346 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/1.078, allocations: 16 kB / 1.346 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/1.08, allocations: 0.692 MB / 1.346 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.082, allocations: 341.3 kB / 1.347 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/1.084, allocations: 1.909 MB / 1.348 GB, free: 8.023 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/1.086, allocations: 124.4 kB / 1.349 GB, free: 7.902 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/1.086, allocations: 95.89 kB / 1.349 GB, free: 7.809 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002958/1.089, allocations: 1.589 MB / 1.35 GB, free: 6.215 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002345/1.092, allocations: 1.637 MB / 1.352 GB, free: 4.215 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003574/1.095, allocations: 2.21 MB / 1.354 GB, free: 1.773 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.719e-06/1.095, allocations: 4 kB / 1.354 GB, free: 1.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=249) (initialization_lambda0): time 0.006344/1.102, allocations: 3.236 MB / 1.357 GB, free: 14.49 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/1.102, allocations: 42.7 kB / 1.357 GB, free: 14.44 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.102, allocations: 16 kB / 1.357 GB, free: 14.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009967/1.103, allocations: 481.2 kB / 1.358 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.104, allocations: 349.3 kB / 1.358 GB, free: 13.61 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007686/1.112, allocations: 6.338 MB / 1.364 GB, free: 6.977 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/1.114, allocations: 149.4 kB / 1.364 GB, free: 6.832 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/1.114, allocations: 87.97 kB / 1.364 GB, free: 6.746 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.0005395/1.115, allocations: 292.1 kB / 1.365 GB, free: 6.453 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005558/1.116, allocations: 349.8 kB / 1.365 GB, free: 6.109 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/1.121, allocations: 2.459 MB / 1.367 GB, free: 3.629 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.121, allocations: 15.94 kB / 1.367 GB, free: 3.613 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.121, allocations: 0 / 1.367 GB, free: 3.613 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003741/1.125, allocations: 2.07 MB / 1.369 GB, free: 1.469 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008647/1.133, allocations: 4.6 MB / 1.374 GB, free: 12.8 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.133, allocations: 7.922 kB / 1.374 GB, free: 12.79 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008891/1.134, allocations: 173.7 kB / 1.374 GB, free: 12.62 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/1.135, allocations: 469.1 kB / 1.375 GB, free: 12.15 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.012e-05/1.136, allocations: 35.97 kB / 1.375 GB, free: 12.12 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/1.137, allocations: 1.858 MB / 1.376 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.137, allocations: 4.125 kB / 1.376 GB, free: 10.2 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006293/1.144, allocations: 3.196 MB / 1.38 GB, free: 6.969 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.145, allocations: 0.5454 MB / 1.38 GB, free: 6.402 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.146, allocations: 23.98 kB / 1.38 GB, free: 6.379 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.147, allocations: 83.89 kB / 1.38 GB, free: 6.297 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/1.147, allocations: 76.89 kB / 1.38 GB, free: 6.219 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.147, allocations: 43.97 kB / 1.38 GB, free: 6.176 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003712/1.151, allocations: 2.355 MB / 1.383 GB, free: 3.809 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.8e-07/1.151, allocations: 0 / 1.383 GB, free: 3.809 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003926/1.155, allocations: 1.517 MB / 1.384 GB, free: 2.289 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.156, allocations: 0.6021 MB / 1.385 GB, free: 1.684 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.00713/1.163, allocations: 3.723 MB / 1.388 GB, free: 13.92 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.163, allocations: 4 kB / 1.388 GB, free: 13.91 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/1.165, allocations: 0.8005 MB / 1.389 GB, free: 13.12 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006435/1.172, allocations: 1.453 MB / 1.391 GB, free: 11.68 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.184, allocations: 6.035 MB / 1.396 GB, free: 5.609 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/1.186, allocations: 2.248 MB / 1.399 GB, free: 3.328 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003225/1.189, allocations: 0.8306 MB / 1.399 GB, free: 2.492 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006735/1.19, allocations: 243.3 kB / 1.4 GB, free: 2.254 MB / 1.123 GB Notification: Performance of SimCode: time 9.02e-07/1.19, allocations: 0 / 1.4 GB, free: 2.254 MB / 1.123 GB Notification: Performance of Templates: time 0.1093/1.299, allocations: 61.06 MB / 1.459 GB, free: 5.945 MB / 1.186 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 -s cvode -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