Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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.0009867/0.0009867, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009715/0.0009715, allocations: 181 kB / 24.09 MB, free: 420 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.9777/0.9777, 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.759/1.759, allocations: 359 MB / 0.6055 GB, free: 10.88 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.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.014e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001494/0.001524, allocations: 0.6072 MB / 0.7881 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 5.063e-05/0.001574, allocations: 5.969 kB / 0.7881 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.001593, allocations: 7.938 kB / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.00162, allocations: 0 / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.364e-06/0.001628, allocations: 0 / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.025e-05/0.001668, allocations: 0 / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.131e-05/0.001719, allocations: 4.609 kB / 0.7881 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.001762, allocations: 3.984 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.001797, allocations: 4.875 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.393e-05/0.001821, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.001835, allocations: 1.156 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.988e-06/0.001839, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.001852, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.001867, allocations: 1.406 kB / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.722e-05/0.001924, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.001926, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.51e-07/0.001927, allocations: 0 / 0.7881 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.001931, allocations: 5 kB / 0.7881 GB, free: 11.62 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.0002164/0.002148, allocations: 336.4 kB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.002188, allocations: 16.05 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.047e-05/0.002209, allocations: 2.5 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.326e-05/0.002262, allocations: 104.6 kB / 0.7886 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.002271, allocations: 384 / 0.7886 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.002278, allocations: 4.375 kB / 0.7886 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.941e-05/0.002337, allocations: 32.02 kB / 0.7886 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.002344, allocations: 192 / 0.7886 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-06/0.002349, allocations: 384 / 0.7886 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.002354, allocations: 384 / 0.7886 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-06/0.002364, allocations: 7.938 kB / 0.7886 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.103e-05/0.002445, allocations: 95.69 kB / 0.7887 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.322e-05/0.002478, allocations: 27.16 kB / 0.7887 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.002498, allocations: 15.67 kB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.962e-06/0.002504, allocations: 0 / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.002525, allocations: 41.33 kB / 0.7888 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.002526, allocations: 0.625 kB / 0.7888 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 9.518e-05/0.002621, allocations: 31.36 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.002648, allocations: 51.41 kB / 0.7889 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.991e-05/0.002688, allocations: 146.2 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.002695, allocations: 25.7 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.002725, allocations: 127.6 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.002752, allocations: 0 / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.002777, allocations: 20.22 kB / 0.7892 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.002901, allocations: 0.4883 MB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-06/0.00291, allocations: 0 / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.002917, allocations: 9.5 kB / 0.7897 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.002941, allocations: 11.69 kB / 0.7897 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.002943, allocations: 0 / 0.7897 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.364e-05/0.002987, allocations: 31.92 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.002999, allocations: 8 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.003005, allocations: 0 / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.003016, allocations: 0 / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.003067, allocations: 4 kB / 0.7897 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.00307, allocations: 0.5 kB / 0.7897 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.013e-05/0.00308, allocations: 8.656 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.003084, allocations: 0 / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 7.199e-05/0.003156, allocations: 161 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.471e-06/0.003162, allocations: 5.938 kB / 0.7899 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.003181, allocations: 3 kB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.003184, allocations: 4 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.003186, allocations: 0 / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.003189, allocations: 0 / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.197e-05/0.00324, allocations: 93.73 kB / 0.79 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.003241, allocations: 1.312 kB / 0.79 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-06/0.003249, allocations: 4 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.003249, allocations: 0 / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-06/0.003252, allocations: 0 / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.003253, allocations: 1.156 kB / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.003254, allocations: 0 / 0.79 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.041e-05/0.003314, allocations: 81.7 kB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-06/0.003318, allocations: 0 / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-06/0.003323, allocations: 0 / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.397e-06/0.003327, allocations: 0 / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.616e-06/0.003335, allocations: 1.75 kB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.003338, allocations: 4 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.811e-05/0.003366, allocations: 123.1 kB / 0.7902 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003366, allocations: 0 / 0.7902 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001056/0.003472, allocations: 0 / 0.7902 GB, free: 9.285 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0002417/0.003713, allocations: 96.52 kB / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.766e-05/0.003781, allocations: 16.27 kB / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.003783, allocations: 0 / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.085e-06/0.003791, allocations: 12.5 kB / 0.7903 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.151e-05/0.003883, allocations: 11.53 kB / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001624/0.004045, allocations: 87.95 kB / 0.7904 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.619e-05/0.004071, allocations: 55.34 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.085e-05/0.004082, allocations: 0 / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.004111, allocations: 67.11 kB / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of SimCode: time 7.62e-07/0.004112, allocations: 0 / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of Templates: time 0.00142/0.005532, allocations: 212.4 kB / 0.7907 GB, free: 8.68 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.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.883262625895441]