Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.00103/0.00103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.002482, allocations: 435.8 kB / 10.33 MB, free: 368 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.001006/0.001006, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001054/0.002059, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08445/1.092, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.352/2.352, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2465/2.598, allocations: 145.9 MB / 0.817 GB, free: 4.211 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.66e-05, allocations: 10.25 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001831/0.001848, allocations: 1.587 MB / 0.8198 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.002996, allocations: 1.278 MB / 0.8211 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.003051, allocations: 4 kB / 0.8211 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.003165, allocations: 15.88 kB / 0.8211 GB, free: 4 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.003287, allocations: 43.7 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.00342, allocations: 59.84 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.003576, allocations: 151.5 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.003684, allocations: 37.83 kB / 0.8214 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.003819, allocations: 124.5 kB / 0.8215 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.003918, allocations: 42.52 kB / 0.8215 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.003946, allocations: 12 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.062e-05/0.004006, allocations: 27.98 kB / 0.8216 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.095e-05/0.004057, allocations: 31.88 kB / 0.8216 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.004103, allocations: 31.88 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.004286, allocations: 151.5 kB / 0.8218 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.209e-05/0.004298, allocations: 0 / 0.8218 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004299, allocations: 0 / 0.8218 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.004315, allocations: 0 / 0.8218 GB, free: 15.31 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006619/0.004977, allocations: 415.5 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.005008, allocations: 12.61 kB / 0.8222 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.005049, allocations: 16.92 kB / 0.8222 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.005252, allocations: 185.2 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.005358, allocations: 222.2 kB / 0.8226 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.005376, allocations: 4.375 kB / 0.8226 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.005563, allocations: 205.9 kB / 0.8228 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.005571, allocations: 0 / 0.8228 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.005587, allocations: 11.98 kB / 0.8228 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.005612, allocations: 7.984 kB / 0.8228 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.6e-05/0.005638, allocations: 12 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.00605, allocations: 285.5 kB / 0.8231 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.967e-05/0.00609, allocations: 22.58 kB / 0.8231 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.006108, allocations: 12.86 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.006129, allocations: 7.984 kB / 0.8231 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.006151, allocations: 34.56 kB / 0.8232 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.006152, allocations: 0 / 0.8232 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001252/0.006277, allocations: 65.61 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.006302, allocations: 51.41 kB / 0.8233 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.006405, allocations: 191.7 kB / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.006424, allocations: 33.7 kB / 0.8235 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.006463, allocations: 108 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.00648, allocations: 23.8 kB / 0.8236 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.006511, allocations: 29.69 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.006586, allocations: 330.7 kB / 0.824 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.0066, allocations: 7.984 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.666e-05/0.006647, allocations: 82.3 kB / 0.824 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.726e-05/0.006734, allocations: 112.9 kB / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.006736, allocations: 0 / 0.8242 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001/0.006836, allocations: 101.4 kB / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.00685, allocations: 8 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.006855, allocations: 4 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.006867, allocations: 4 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.006942, allocations: 27.92 kB / 0.8243 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.006948, allocations: 7.984 kB / 0.8243 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.006985, allocations: 11.89 kB / 0.8243 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.006993, allocations: 4.375 kB / 0.8243 GB, free: 12.39 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 6.814e-05/0.007061, allocations: 136.5 kB / 0.8244 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.007084, allocations: 15.98 kB / 0.8245 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.007193, allocations: 79.23 kB / 0.8245 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.007196, allocations: 4 kB / 0.8245 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007198, allocations: 3.938 kB / 0.8245 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.0072, allocations: 0 / 0.8245 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.007304, allocations: 101.7 kB / 0.8246 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007305, allocations: 0 / 0.8246 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.898e-05/0.007334, allocations: 15.98 kB / 0.8247 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.007345, allocations: 15.91 kB / 0.8247 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.007347, allocations: 0 / 0.8247 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.007354, allocations: 8 kB / 0.8247 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.007355, allocations: 400 / 0.8247 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007356, allocations: 0 / 0.8247 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.519e-05/0.007441, allocations: 163.4 kB / 0.8248 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.007452, allocations: 0 / 0.8248 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.007536, allocations: 15.98 kB / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.007547, allocations: 3.938 kB / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.007561, allocations: 11.97 kB / 0.8249 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.925e-05/0.007601, allocations: 55.09 kB / 0.8249 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.007601, allocations: 4 kB / 0.8249 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001695/0.00777, allocations: 31.94 kB / 0.825 GB, free: 11.68 MB / 0.8073 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 (8): * Single equations (assignments): 8 * 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.0001543/0.007924, allocations: 98.25 kB / 0.825 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.49e-05/0.008009, allocations: 53.02 kB / 0.8251 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.008014, allocations: 4 kB / 0.8251 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.489e-05/0.008029, allocations: 16.84 kB / 0.8251 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.008207, allocations: 47.83 kB / 0.8252 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.008629, allocations: 263.8 kB / 0.8254 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.432e-05/0.008674, allocations: 79.31 kB / 0.8255 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.916e-05/0.008733, allocations: 37.33 kB / 0.8255 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.008904, allocations: 107.2 kB / 0.8256 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of SimCode: time 4.41e-07/0.008905, allocations: 0 / 0.8256 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of Templates: time 0.004005/0.01291, allocations: 2.889 MB / 0.8285 GB, free: 8.082 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.ref.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.242201262153685]