Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007949/0.0007949, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.001934, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002617, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9353/0.9353, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08023/1.016, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.785/1.785, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4283/2.214, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.154e-05, allocations: 6.25 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001145/0.001166, allocations: 0.5988 MB / 0.7302 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 6.525e-05/0.001231, allocations: 42.14 kB / 0.7303 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.001265, allocations: 0 / 0.7303 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.00128, allocations: 2.25 kB / 0.7303 GB, free: 3.828 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.001336, allocations: 8.578 kB / 0.7303 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-05/0.001373, allocations: 9.578 kB / 0.7303 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.001424, allocations: 9.531 kB / 0.7303 GB, free: 3.805 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.102e-05/0.001455, allocations: 7.984 kB / 0.7303 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.858e-05/0.001523, allocations: 9.406 kB / 0.7303 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.001599, allocations: 18.97 kB / 0.7303 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.001616, allocations: 0.5469 kB / 0.7303 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-06/0.001623, allocations: 0 / 0.7303 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.863e-05/0.001662, allocations: 5.422 kB / 0.7303 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.00168, allocations: 0.875 kB / 0.7303 GB, free: 3.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 6.278e-05/0.001743, allocations: 13.91 kB / 0.7303 GB, free: 3.758 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.918e-06/0.001753, allocations: 1.406 kB / 0.7303 GB, free: 3.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.51e-07/0.001753, allocations: 3.938 kB / 0.7304 GB, free: 3.754 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.001763, allocations: 0 / 0.7304 GB, free: 3.754 MB / 0.698 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.0002892/0.002052, allocations: 237 kB / 0.7306 GB, free: 3.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.002081, allocations: 8.719 kB / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.002105, allocations: 4.938 kB / 0.7306 GB, free: 3.488 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.002216, allocations: 107.5 kB / 0.7307 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.002223, allocations: 384 / 0.7307 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.002241, allocations: 4.375 kB / 0.7307 GB, free: 3.355 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.992e-05/0.002311, allocations: 37.89 kB / 0.7307 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.002316, allocations: 192 / 0.7307 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.002322, allocations: 384 / 0.7307 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.002326, allocations: 0.875 kB / 0.7307 GB, free: 3.312 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-06/0.002333, allocations: 10.67 kB / 0.7307 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.186e-05/0.002395, allocations: 55.88 kB / 0.7308 GB, free: 3.234 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.117e-05/0.002426, allocations: 22.55 kB / 0.7308 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.038e-05/0.002437, allocations: 12.44 kB / 0.7308 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.002446, allocations: 0.5938 kB / 0.7308 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.002466, allocations: 34.56 kB / 0.7309 GB, free: 3.148 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.002467, allocations: 1.062 kB / 0.7309 GB, free: 3.148 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 8.32e-05/0.00255, allocations: 38.17 kB / 0.7309 GB, free: 3.105 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.381e-05/0.002574, allocations: 51.41 kB / 0.731 GB, free: 3.043 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.362e-05/0.002627, allocations: 116.7 kB / 0.7311 GB, free: 2.918 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.822e-06/0.002634, allocations: 25.7 kB / 0.7311 GB, free: 2.887 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.002653, allocations: 80.14 kB / 0.7312 GB, free: 2.805 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.002672, allocations: 8.672 kB / 0.7312 GB, free: 2.797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.002693, allocations: 13.7 kB / 0.7312 GB, free: 2.777 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.00276, allocations: 323.3 kB / 0.7315 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.002768, allocations: 3.766 kB / 0.7315 GB, free: 2.449 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.193e-05/0.002779, allocations: 13.72 kB / 0.7315 GB, free: 2.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.002812, allocations: 22.12 kB / 0.7315 GB, free: 2.402 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.002814, allocations: 1.438 kB / 0.7315 GB, free: 2.402 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.307e-05/0.002857, allocations: 44.52 kB / 0.7316 GB, free: 2.352 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.002868, allocations: 4.656 kB / 0.7316 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.002872, allocations: 0 / 0.7316 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.002881, allocations: 1.656 kB / 0.7316 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.002934, allocations: 4 kB / 0.7316 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.00294, allocations: 16.67 kB / 0.7316 GB, free: 2.328 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.002952, allocations: 0 / 0.7316 GB, free: 2.328 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.002958, allocations: 0 / 0.7316 GB, free: 2.328 MB / 0.698 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 4.669e-05/0.003004, allocations: 117.2 kB / 0.7317 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-06/0.00301, allocations: 9.109 kB / 0.7317 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/0.003075, allocations: 37.16 kB / 0.7318 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.003077, allocations: 0.875 kB / 0.7318 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.003078, allocations: 0.7656 kB / 0.7318 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.003081, allocations: 4 kB / 0.7318 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.347e-05/0.003134, allocations: 74.45 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.003137, allocations: 4.672 kB / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.933e-05/0.003166, allocations: 4 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.00318, allocations: 4.609 kB / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.003181, allocations: 0 / 0.7318 GB, free: 2.047 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.003189, allocations: 5.938 kB / 0.7319 GB, free: 2.043 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.00319, allocations: 0 / 0.7319 GB, free: 2.043 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.003191, allocations: 3.938 kB / 0.7319 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.031e-05/0.003261, allocations: 67.56 kB / 0.7319 GB, free: 1.953 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-06/0.003269, allocations: 5.25 kB / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.003275, allocations: 256 / 0.7319 GB, free: 1.949 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.003285, allocations: 3.984 kB / 0.7319 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.003288, allocations: 4 kB / 0.7319 GB, free: 1.941 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.527e-05/0.003303, allocations: 18.44 kB / 0.7319 GB, free: 1.922 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.003303, allocations: 0 / 0.7319 GB, free: 1.922 MB / 0.698 GB Notification: Performance of remove unused functions: time 8.556e-05/0.003389, allocations: 0.5625 kB / 0.7319 GB, free: 1.922 MB / 0.698 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 5.939e-05/0.003448, allocations: 78.2 kB / 0.732 GB, free: 1.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.068e-05/0.003499, allocations: 17.88 kB / 0.732 GB, free: 1.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.003503, allocations: 4 kB / 0.732 GB, free: 1.816 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.003515, allocations: 11.28 kB / 0.7321 GB, free: 1.805 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.548e-05/0.00358, allocations: 11.92 kB / 0.7321 GB, free: 1.793 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001801/0.00376, allocations: 116.2 kB / 0.7322 GB, free: 1.652 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.358e-05/0.003784, allocations: 51.36 kB / 0.7322 GB, free: 1.582 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.003801, allocations: 4.531 kB / 0.7322 GB, free: 1.578 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.003832, allocations: 48.12 kB / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of SimCode: time 6.82e-07/0.003832, allocations: 0 / 0.7323 GB, free: 1.531 MB / 0.698 GB Notification: Performance of Templates: time 0.001545/0.005377, allocations: 367.4 kB / 0.7326 GB, free: 1.18 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_12_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Examples.Performance.Example5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Examples.Performance.Example5/Buildings_12_Buildings.Fluid.Examples.Performance.Example5.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.514398625120521]