Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009871/0.0009871, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001062/0.001062, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 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 1.022/1.022, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.291/2.291, allocations: 438.1 MB / 0.682 GB, free: 14.23 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 3.984 kB / 0.8897 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.583e-05, allocations: 5.547 kB / 0.8897 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00108/0.001096, allocations: 0.6195 MB / 0.8903 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 4.175e-05/0.001137, allocations: 0 / 0.8903 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.887e-05/0.001156, allocations: 4 kB / 0.8903 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.001181, allocations: 3.938 kB / 0.8903 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.001188, allocations: 0 / 0.8903 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.441e-05/0.001222, allocations: 0 / 0.8903 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.001266, allocations: 7.938 kB / 0.8903 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.001303, allocations: 4 kB / 0.8903 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.12e-05/0.001334, allocations: 0 / 0.8903 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.28e-05/0.001357, allocations: 0 / 0.8903 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.001371, allocations: 0 / 0.8903 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-06/0.001375, allocations: 0 / 0.8903 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.001388, allocations: 0 / 0.8903 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.479e-05/0.001402, allocations: 4 kB / 0.8903 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.008e-05/0.001453, allocations: 7.984 kB / 0.8903 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.001457, allocations: 3.984 kB / 0.8903 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.71e-07/0.001457, allocations: 0 / 0.8903 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.00146, allocations: 0 / 0.8903 GB, free: 9.191 MB / 0.8542 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.0002114/0.001672, allocations: 336.4 kB / 0.8907 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.001711, allocations: 8.625 kB / 0.8907 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.873e-05/0.00173, allocations: 1.281 kB / 0.8907 GB, free: 8.816 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.146e-05/0.001781, allocations: 108.6 kB / 0.8908 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.001792, allocations: 4.375 kB / 0.8908 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.51e-06/0.001798, allocations: 4.375 kB / 0.8908 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.672e-05/0.001854, allocations: 30.25 kB / 0.8908 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.00186, allocations: 192 / 0.8908 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-06/0.001865, allocations: 384 / 0.8908 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.00187, allocations: 4.375 kB / 0.8908 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-06/0.001878, allocations: 7.875 kB / 0.8908 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.279e-05/0.001951, allocations: 89.27 kB / 0.8909 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 2.818e-05/0.001979, allocations: 27.09 kB / 0.8909 GB, free: 8.477 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.33e-05/0.001992, allocations: 7.688 kB / 0.8909 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5e-06/0.001997, allocations: 4 kB / 0.8909 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.002017, allocations: 41.39 kB / 0.891 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.002017, allocations: 0 / 0.891 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 8.22e-05/0.002099, allocations: 49.56 kB / 0.891 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.002124, allocations: 51.41 kB / 0.8911 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.738e-05/0.002161, allocations: 142.2 kB / 0.8912 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.002171, allocations: 25.7 kB / 0.8912 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.776e-05/0.002199, allocations: 130.9 kB / 0.8914 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.002223, allocations: 4 kB / 0.8914 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.002243, allocations: 15.38 kB / 0.8914 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.002347, allocations: 0.4884 MB / 0.8919 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-06/0.002353, allocations: 8 kB / 0.8919 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-06/0.002356, allocations: 0 / 0.8919 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/0.002376, allocations: 11.62 kB / 0.8919 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.002377, allocations: 0 / 0.8919 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.722e-05/0.002404, allocations: 37.69 kB / 0.8919 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.002414, allocations: 4 kB / 0.8919 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.002418, allocations: 0 / 0.8919 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.002427, allocations: 0 / 0.8919 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.556e-05/0.002473, allocations: 4 kB / 0.8919 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-06/0.002476, allocations: 4.094 kB / 0.8919 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-06/0.002481, allocations: 0 / 0.8919 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.795e-06/0.002484, allocations: 0 / 0.8919 GB, free: 7.371 MB / 0.8542 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 5.212e-05/0.002536, allocations: 160.5 kB / 0.8921 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-06/0.00254, allocations: 4 kB / 0.8921 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.002556, allocations: 3 kB / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.002558, allocations: 0 / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.002559, allocations: 0 / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.002561, allocations: 0 / 0.8921 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.601e-05/0.002607, allocations: 97.19 kB / 0.8922 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.002608, allocations: 0 / 0.8922 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.607e-06/0.002611, allocations: 8 kB / 0.8922 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.002612, allocations: 3.938 kB / 0.8922 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-06/0.002615, allocations: 4 kB / 0.8922 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-07/0.002616, allocations: 0 / 0.8922 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.002616, allocations: 0 / 0.8922 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.571e-05/0.002662, allocations: 76.31 kB / 0.8923 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-06/0.002665, allocations: 0 / 0.8923 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-06/0.00267, allocations: 0 / 0.8923 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.078e-06/0.002674, allocations: 4 kB / 0.8923 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-06/0.002683, allocations: 4 kB / 0.8923 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-07/0.002683, allocations: 4.031 kB / 0.8923 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.655e-05/0.00271, allocations: 119.2 kB / 0.8924 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00271, allocations: 0 / 0.8924 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001031/0.002813, allocations: 0 / 0.8924 GB, free: 6.832 MB / 0.8542 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 6.006e-05/0.002873, allocations: 91.25 kB / 0.8925 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.635e-05/0.002919, allocations: 15.62 kB / 0.8925 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.00292, allocations: 0 / 0.8925 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-06/0.002928, allocations: 15.67 kB / 0.8925 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.219e-05/0.00301, allocations: 8.062 kB / 0.8925 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001349/0.003145, allocations: 80.09 kB / 0.8926 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.619e-05/0.003171, allocations: 51.36 kB / 0.8926 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.538e-06/0.00318, allocations: 0 / 0.8926 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.003208, allocations: 66.2 kB / 0.8927 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of SimCode: time 3.61e-07/0.003209, allocations: 0 / 0.8927 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of Templates: time 0.001244/0.004453, allocations: 205 kB / 0.8929 GB, free: 6.238 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.1835859208367765]