Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001998/0.001998, allocations: 192.2 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example4") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 59.91 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.922/0.9243, allocations: 160.8 MB / 1.218 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2997/1.224, allocations: 239.2 MB / 1.452 GB, free: 7.188 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02475/1.249, allocations: 15.92 MB / 1.468 GB, free: 7.223 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/1.251, allocations: 87.25 kB / 1.468 GB, free: 7.137 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00332/1.255, allocations: 1.084 MB / 1.469 GB, free: 6.047 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.009011/1.264, allocations: 3.141 MB / 1.472 GB, free: 2.895 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005017/1.269, allocations: 1.741 MB / 1.474 GB, free: 1.16 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006146/1.275, allocations: 3.496 MB / 1.477 GB, free: 13.65 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/1.277, allocations: 1.003 MB / 1.478 GB, free: 12.61 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007203/1.284, allocations: 2.636 MB / 1.48 GB, free: 9.98 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/1.287, allocations: 1.145 MB / 1.482 GB, free: 8.844 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003756/1.287, allocations: 116 kB / 1.482 GB, free: 8.73 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007552/1.295, allocations: 3.289 MB / 1.485 GB, free: 5.434 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000958/1.296, allocations: 494.2 kB / 1.485 GB, free: 4.949 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001458/1.297, allocations: 0.8162 MB / 1.486 GB, free: 4.129 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007268/1.304, allocations: 2.97 MB / 1.489 GB, free: 1.148 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.304, allocations: 0 / 1.489 GB, free: 1.148 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.933e-06/1.304, allocations: 0 / 1.489 GB, free: 1.148 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.049e-05/1.304, allocations: 4 kB / 1.489 GB, free: 1.145 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004297/1.309, allocations: 2.072 MB / 1.491 GB, free: 15.01 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.399e-05/1.309, allocations: 8.031 kB / 1.491 GB, free: 15 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/1.312, allocations: 0.4946 MB / 1.492 GB, free: 14.51 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/1.315, allocations: 1.177 MB / 1.493 GB, free: 13.28 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/1.315, allocations: 78 kB / 1.493 GB, free: 13.2 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.315, allocations: 100 kB / 1.493 GB, free: 13.1 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/1.317, allocations: 1.358 MB / 1.494 GB, free: 11.62 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/1.318, allocations: 7.938 kB / 1.494 GB, free: 11.62 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.318, allocations: 40 kB / 1.494 GB, free: 11.58 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-05/1.318, allocations: 46 kB / 1.494 GB, free: 11.53 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/1.32, allocations: 1.054 MB / 1.495 GB, free: 10.48 MB / 1.201 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.01007/1.33, allocations: 7.404 MB / 1.503 GB, free: 2.598 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/1.332, allocations: 0.523 MB / 1.503 GB, free: 2.066 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/1.333, allocations: 249.7 kB / 1.503 GB, free: 1.82 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/1.333, allocations: 287.5 kB / 1.504 GB, free: 1.484 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.333, allocations: 38.83 kB / 1.504 GB, free: 1.438 MB / 1.201 GB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/1.333, allocations: 0 / 1.504 GB, free: 1.438 MB / 1.201 GB Notification: Performance of matching and sorting (n=33): time 0.002564/1.336, allocations: 0.8446 MB / 1.504 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.336, allocations: 59.41 kB / 1.505 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/1.338, allocations: 1.391 MB / 1.506 GB, free: 15.11 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.271e-05/1.338, allocations: 33.7 kB / 1.506 GB, free: 15.07 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006749/1.339, allocations: 0.7156 MB / 1.507 GB, free: 14.36 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/1.339, allocations: 131 kB / 1.507 GB, free: 14.23 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/1.339, allocations: 166.5 kB / 1.507 GB, free: 14.06 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.339, allocations: 337.9 kB / 1.507 GB, free: 13.72 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008294/1.34, allocations: 312.6 kB / 1.508 GB, free: 13.41 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/1.341, allocations: 0.6811 MB / 1.508 GB, free: 12.55 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/1.343, allocations: 0.9351 MB / 1.509 GB, free: 11.46 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.343, allocations: 4 kB / 1.509 GB, free: 11.46 MB / 1.217 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002618/1.346, allocations: 1.059 MB / 1.51 GB, free: 10.39 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.346, allocations: 8 kB / 1.51 GB, free: 10.38 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/1.346, allocations: 16.16 kB / 1.51 GB, free: 10.37 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/1.346, allocations: 19.94 kB / 1.51 GB, free: 10.35 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/1.347, allocations: 199.7 kB / 1.51 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.742e-05/1.347, allocations: 27.88 kB / 1.51 GB, free: 10.12 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.348, allocations: 183 kB / 1.511 GB, free: 9.945 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.076e-05/1.348, allocations: 43.98 kB / 1.511 GB, free: 9.902 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001292/1.349, allocations: 0.5638 MB / 1.511 GB, free: 9.336 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001166/1.351, allocations: 0.685 MB / 1.512 GB, free: 8.473 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001833/1.352, allocations: 0.9295 MB / 1.513 GB, free: 7.383 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.791e-05/1.352, allocations: 7.984 kB / 1.513 GB, free: 7.375 MB / 1.217 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002612/1.355, allocations: 1.051 MB / 1.514 GB, free: 6.316 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.355, allocations: 15.94 kB / 1.514 GB, free: 6.301 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.355, allocations: 12 kB / 1.514 GB, free: 6.289 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/1.355, allocations: 16 kB / 1.514 GB, free: 6.273 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008532/1.356, allocations: 208.1 kB / 1.514 GB, free: 6.07 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/1.356, allocations: 23.88 kB / 1.514 GB, free: 6.047 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/1.357, allocations: 136.5 kB / 1.514 GB, free: 5.914 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/1.357, allocations: 43.98 kB / 1.514 GB, free: 5.871 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003099/1.358, allocations: 239.9 kB / 1.514 GB, free: 5.629 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/1.358, allocations: 147 kB / 1.515 GB, free: 5.484 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/1.36, allocations: 0.6443 MB / 1.515 GB, free: 4.824 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.36, allocations: 4 kB / 1.515 GB, free: 4.82 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.36, allocations: 4 kB / 1.515 GB, free: 4.816 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.36, allocations: 0 / 1.515 GB, free: 4.816 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/1.364, allocations: 1.886 MB / 1.517 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/1.364, allocations: 4 kB / 1.517 GB, free: 2.816 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/1.364, allocations: 100 kB / 1.517 GB, free: 2.719 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/1.364, allocations: 4 kB / 1.517 GB, free: 2.715 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/1.364, allocations: 15.98 kB / 1.517 GB, free: 2.699 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/1.364, allocations: 7.938 kB / 1.517 GB, free: 2.691 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.364, allocations: 4 kB / 1.517 GB, free: 2.688 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/1.366, allocations: 0.8179 MB / 1.518 GB, free: 1.805 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/1.367, allocations: 307.9 kB / 1.518 GB, free: 1.484 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/1.367, allocations: 8 kB / 1.518 GB, free: 1.477 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.368, allocations: 71.92 kB / 1.518 GB, free: 1.406 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/1.368, allocations: 39.83 kB / 1.518 GB, free: 1.367 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/1.368, allocations: 15.98 kB / 1.518 GB, free: 1.352 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001789/1.37, allocations: 1.009 MB / 1.519 GB, free: 356 kB / 1.217 GB Notification: Performance of sort global known variables: time 1.51e-07/1.37, allocations: 4 kB / 1.519 GB, free: 352 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.002262/1.372, allocations: 0.5776 MB / 1.52 GB, free: 15.76 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007416/1.373, allocations: 257 kB / 1.52 GB, free: 15.51 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003014/1.376, allocations: 1.09 MB / 1.521 GB, free: 14.42 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.376, allocations: 4 kB / 1.521 GB, free: 14.42 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006742/1.377, allocations: 248.8 kB / 1.522 GB, free: 14.18 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/1.38, allocations: 0.7414 MB / 1.522 GB, free: 13.44 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/1.386, allocations: 2.283 MB / 1.524 GB, free: 11.07 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.387, allocations: 1.186 MB / 1.526 GB, free: 9.855 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001546/1.388, allocations: 387.8 kB / 1.526 GB, free: 9.473 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/1.389, allocations: 91.42 kB / 1.526 GB, free: 9.387 MB / 1.232 GB Notification: Performance of SimCode: time 8.52e-07/1.389, allocations: 0 / 1.526 GB, free: 9.387 MB / 1.232 GB Notification: Performance of Templates: time 0.05064/1.439, allocations: 25.77 MB / 1.551 GB, free: 15.93 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.12586564105004]