Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.Performance.Example5.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.00188/0.00188, allocations: 113.2 kB / 17.08 MB, free: 5.926 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.002155/0.002155, allocations: 193.2 kB / 20.03 MB, free: 3.004 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.402/1.402, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437.1 MB / 0.7178 GB, free: 4.797 MB / 0.5606 GB " [Timeout remaining time 177] 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.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 1.028 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 151.6 MB / 1.176 GB, free: 5.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001748/0.3108, allocations: 0.5319 MB / 1.176 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001758/0.311, allocations: 43.81 kB / 1.176 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.311, allocations: 0 / 1.176 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.3111, allocations: 7.938 kB / 1.176 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.3112, allocations: 3.938 kB / 1.176 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.841e-05/0.3113, allocations: 15.97 kB / 1.176 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.66e-05/0.3113, allocations: 7.938 kB / 1.176 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.72e-05/0.3114, allocations: 3.938 kB / 1.176 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.899e-05/0.3114, allocations: 7.984 kB / 1.176 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.3115, allocations: 11.94 kB / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.3115, allocations: 0 / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.3115, allocations: 0 / 1.176 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.3116, allocations: 7.984 kB / 1.176 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.3116, allocations: 7.922 kB / 1.176 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.842e-05/0.3117, allocations: 8 kB / 1.176 GB, free: 5.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3117, allocations: 4 kB / 1.176 GB, free: 5.246 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3117, allocations: 0 / 1.176 GB, free: 5.246 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.3117, allocations: 0 / 1.176 GB, free: 5.246 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004653/0.3122, allocations: 335.4 kB / 1.177 GB, free: 4.867 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3122, allocations: 12.03 kB / 1.177 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.3123, allocations: 4.891 kB / 1.177 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.3125, allocations: 168.4 kB / 1.177 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.3125, allocations: 12.38 kB / 1.177 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3125, allocations: 384 / 1.177 GB, free: 4.637 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.792e-05/0.3126, allocations: 38.14 kB / 1.177 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3126, allocations: 192 / 1.177 GB, free: 4.594 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3127, allocations: 3.938 kB / 1.177 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3127, allocations: 0 / 1.177 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.366e-05/0.3127, allocations: 7.984 kB / 1.177 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.3129, allocations: 153.7 kB / 1.177 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.646e-05/0.3129, allocations: 18.98 kB / 1.177 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.313, allocations: 8.922 kB / 1.177 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.313, allocations: 0 / 1.177 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.313, allocations: 34.55 kB / 1.177 GB, free: 4.301 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.313, allocations: 3.938 kB / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001499/0.3132, allocations: 53.58 kB / 1.177 GB, free: 4.238 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3132, allocations: 51.41 kB / 1.177 GB, free: 4.176 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3133, allocations: 114 kB / 1.177 GB, free: 4.055 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3134, allocations: 25.7 kB / 1.177 GB, free: 4.023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.3134, allocations: 80.14 kB / 1.178 GB, free: 3.941 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.3134, allocations: 4 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.3135, allocations: 13.72 kB / 1.178 GB, free: 3.918 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3136, allocations: 318.8 kB / 1.178 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.3136, allocations: 4 kB / 1.178 GB, free: 3.594 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.3137, allocations: 21.72 kB / 1.178 GB, free: 3.566 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.3137, allocations: 25.64 kB / 1.178 GB, free: 3.535 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.3137, allocations: 0 / 1.178 GB, free: 3.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.408e-05/0.3138, allocations: 53.58 kB / 1.178 GB, free: 3.477 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3138, allocations: 7.938 kB / 1.178 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3138, allocations: 7.938 kB / 1.178 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3138, allocations: 0 / 1.178 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.3139, allocations: 4.125 kB / 1.178 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.3139, allocations: 7.984 kB / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.314, allocations: 0 / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.314, allocations: 0 / 1.178 GB, free: 3.449 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.535e-05/0.3141, allocations: 109.8 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.564e-06/0.3141, allocations: 0 / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.3142, allocations: 57.09 kB / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3142, allocations: 0 / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3142, allocations: 4.234 kB / 1.178 GB, free: 3.262 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3142, allocations: 7.969 kB / 1.178 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.3143, allocations: 161.7 kB / 1.178 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3144, allocations: 0 / 1.178 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.3144, allocations: 4 kB / 1.178 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3144, allocations: 3.984 kB / 1.178 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3144, allocations: 3.938 kB / 1.178 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3144, allocations: 0 / 1.178 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3144, allocations: 0 / 1.178 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.3146, allocations: 81.06 kB / 1.178 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.3146, allocations: 81.14 kB / 1.178 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3147, allocations: 7.938 kB / 1.178 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.3147, allocations: 0 / 1.178 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.3147, allocations: 7.984 kB / 1.179 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3147, allocations: 3.938 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.655e-05/0.3148, allocations: 87.28 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3148, allocations: 0 / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001709/0.3149, allocations: 0 / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001114/0.3151, allocations: 103.3 kB / 1.179 GB, free: 2.625 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.3152, allocations: 12 kB / 1.179 GB, free: 2.613 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.3152, allocations: 0 / 1.179 GB, free: 2.613 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.3152, allocations: 7.984 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.3153, allocations: 7.984 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.3156, allocations: 147 kB / 1.179 GB, free: 2.422 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.316, allocations: 0.6808 MB / 1.18 GB, free: 1.715 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.323e-05/0.316, allocations: 11.44 kB / 1.18 GB, free: 1.703 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/0.316, allocations: 0 / 1.18 GB, free: 1.703 MB / 0.92 GB Notification: Performance of Templates: time 0.001969/0.318, allocations: 0.5114 MB / 1.18 GB, free: 1.191 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example5.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.345879078959115]