Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000929/0.000929, allocations: 77.97 kB / 20.68 MB, free: 3.809 MB / 18.57 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.0009606/0.0009606, allocations: 177 kB / 24.08 MB, free: 416 kB / 18.57 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.9093/0.9093, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.743/1.743, allocations: 359 MB / 0.6055 GB, free: 10.85 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Fluid.Examples.Performance.Example5") translateModel(Buildings.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|c",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example5") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 3.938 kB / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.972e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001158/0.001178, allocations: 0.5453 MB / 0.7881 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001611/0.001339, allocations: 40.53 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.001394, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.00143, allocations: 5.125 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.001564, allocations: 3.938 kB / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.287e-05/0.001606, allocations: 8 kB / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.271e-05/0.001659, allocations: 12.91 kB / 0.7881 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.084e-05/0.00169, allocations: 0 / 0.7881 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.001746, allocations: 12.48 kB / 0.7881 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.745e-05/0.001823, allocations: 12 kB / 0.7882 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.001839, allocations: 0.6875 kB / 0.7882 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.472e-06/0.001846, allocations: 0.9062 kB / 0.7882 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.001888, allocations: 7.984 kB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.001908, allocations: 3.938 kB / 0.7882 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.289e-05/0.001971, allocations: 16.56 kB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.001973, allocations: 4.719 kB / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.001974, allocations: 0 / 0.7882 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.001977, allocations: 1.656 kB / 0.7882 GB, free: 11.54 MB / 0.7448 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.0002837/0.002261, allocations: 352.7 kB / 0.7885 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.002296, allocations: 8.031 kB / 0.7885 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.002316, allocations: 4.938 kB / 0.7885 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.548e-05/0.002412, allocations: 117.9 kB / 0.7887 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.002418, allocations: 384 / 0.7887 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.002432, allocations: 4.375 kB / 0.7887 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.228e-05/0.002485, allocations: 31.84 kB / 0.7887 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-06/0.002489, allocations: 192 / 0.7887 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-06/0.002495, allocations: 384 / 0.7887 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.002499, allocations: 384 / 0.7887 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-06/0.002507, allocations: 7.938 kB / 0.7887 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.567e-05/0.002593, allocations: 100.7 kB / 0.7888 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.245e-05/0.002625, allocations: 35.02 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.014e-05/0.002635, allocations: 7.688 kB / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.002646, allocations: 0 / 0.7888 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.002664, allocations: 37.45 kB / 0.7889 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.002664, allocations: 0 / 0.7889 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.454e-05/0.002749, allocations: 29.7 kB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.002771, allocations: 51.41 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.495e-05/0.002835, allocations: 170.4 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.002844, allocations: 26.36 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.002881, allocations: 134.8 kB / 0.7893 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.002899, allocations: 8.469 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.002922, allocations: 24.12 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.003028, allocations: 0.4922 MB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-06/0.003034, allocations: 0.9375 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.003048, allocations: 19.38 kB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.003075, allocations: 25.27 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.003077, allocations: 0 / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.061e-05/0.003128, allocations: 42.88 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.003139, allocations: 10.03 kB / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.003143, allocations: 256 / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.003153, allocations: 0 / 0.7899 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.0032, allocations: 8.594 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.003204, allocations: 4.766 kB / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.02e-05/0.003214, allocations: 0 / 0.7899 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.003221, allocations: 11.94 kB / 0.7899 GB, free: 9.602 MB / 0.7448 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 5.72e-05/0.003278, allocations: 153.5 kB / 0.79 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-06/0.003282, allocations: 0 / 0.79 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.266e-05/0.003345, allocations: 46.06 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.003346, allocations: 0 / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.003348, allocations: 2.219 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.003351, allocations: 0 / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.94e-05/0.00342, allocations: 109.1 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.003421, allocations: 4 kB / 0.7902 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.003447, allocations: 3.984 kB / 0.7902 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.003448, allocations: 0 / 0.7902 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.003458, allocations: 7.062 kB / 0.7902 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.003459, allocations: 0 / 0.7902 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.003459, allocations: 0 / 0.7902 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.005e-05/0.003539, allocations: 88.3 kB / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.003554, allocations: 0 / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.003565, allocations: 4 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-06/0.003572, allocations: 0 / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.003583, allocations: 1.312 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-06/0.003585, allocations: 0 / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.003624, allocations: 131.2 kB / 0.7904 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003624, allocations: 0 / 0.7904 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001081/0.003732, allocations: 0.625 kB / 0.7904 GB, free: 9.008 MB / 0.7448 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 7.383e-05/0.003806, allocations: 95.81 kB / 0.7905 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.286e-05/0.003859, allocations: 28.45 kB / 0.7905 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.00386, allocations: 1.031 kB / 0.7905 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.868e-06/0.00387, allocations: 11.69 kB / 0.7906 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.986e-05/0.00397, allocations: 4.969 kB / 0.7906 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001922/0.004162, allocations: 114.9 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.986e-05/0.004192, allocations: 60.91 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.073e-05/0.004202, allocations: 0 / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.004244, allocations: 70.2 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.004244, allocations: 0 / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of Templates: time 0.001424/0.005668, allocations: 373.8 kB / 0.7911 GB, free: 8.211 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example5.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example5_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example5.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.696006397716701]