Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0007821/0.0007821, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007667/0.0007667, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.908/0.908, allocations: 177.1 MB / 203.5 MB, free: 5.738 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 1.789/1.789, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.991e-05, allocations: 6.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002298/0.002328, allocations: 1.389 MB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001349/0.002463, allocations: 39.83 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.002516, allocations: 4 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.002696, allocations: 15.86 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.002814, allocations: 11.92 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.699e-06/0.002819, allocations: 0 / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.923e-05/0.002898, allocations: 23.86 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.002941, allocations: 4 kB / 1.002 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.002986, allocations: 4 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.416e-05/0.00304, allocations: 7.984 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.003061, allocations: 3.938 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.561e-05/0.003107, allocations: 16 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.003152, allocations: 7.984 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.003169, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003288, allocations: 31.84 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003291, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.563e-06/0.003292, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.003297, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 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.000374/0.003671, allocations: 254.3 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.003714, allocations: 12.75 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.003746, allocations: 0.9375 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.003914, allocations: 129.6 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.003923, allocations: 4.375 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.003932, allocations: 4.375 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.771e-05/0.004019, allocations: 26.27 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.004028, allocations: 8.172 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.004037, allocations: 384 / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.004058, allocations: 4.359 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.004081, allocations: 7.938 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.004193, allocations: 105.4 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.731e-05/0.00423, allocations: 18.52 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.004252, allocations: 20.91 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.004274, allocations: 4 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.004292, allocations: 30.56 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.004293, allocations: 3.938 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.004419, allocations: 37.66 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.004453, allocations: 51.41 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.083e-05/0.004544, allocations: 125.7 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.004554, allocations: 25.7 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.004589, allocations: 92.12 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.004611, allocations: 0 / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.004631, allocations: 13.78 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.004713, allocations: 318.8 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.004724, allocations: 4 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.004732, allocations: 4 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.004755, allocations: 8.859 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.004758, allocations: 3.984 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.909e-05/0.004808, allocations: 41.66 kB / 1.004 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.004821, allocations: 4 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.004825, allocations: 3.938 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.004837, allocations: 96 / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.537e-05/0.004892, allocations: 4 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.004897, allocations: 4 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.918e-06/0.004906, allocations: 3.938 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.004911, allocations: 0 / 1.004 GB, free: 9.93 MB / 0.9636 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.795e-05/0.004969, allocations: 113.8 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-06/0.004974, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.00505, allocations: 41.17 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005052, allocations: 0 / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.005058, allocations: 3.984 kB / 1.004 GB, free: 9.754 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.005061, allocations: 3.938 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.16e-05/0.005123, allocations: 105.4 kB / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.005124, allocations: 0 / 1.004 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.02e-05/0.005134, allocations: 4 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.005137, allocations: 3.984 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.005143, allocations: 0 / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005144, allocations: 0 / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005145, allocations: 3.938 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.107e-05/0.005196, allocations: 65.81 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-06/0.005202, allocations: 4 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.005213, allocations: 7.922 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.809e-06/0.005217, allocations: 4.031 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.00523, allocations: 0 / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.005234, allocations: 8 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.005273, allocations: 87.28 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005273, allocations: 0 / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001304/0.005403, allocations: 7.922 kB / 1.004 GB, free: 9.406 MB / 0.9636 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.0001762/0.005579, allocations: 123.5 kB / 1.004 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.872e-05/0.005648, allocations: 7.938 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.005649, allocations: 0 / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-06/0.005654, allocations: 8 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.005765, allocations: 6.047 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.006022, allocations: 130.6 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.555e-05/0.006068, allocations: 63.34 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.006088, allocations: 8.5 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of SimCode: time 3.71e-07/0.006089, allocations: 4.125 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of Templates: time 0.001826/0.007914, allocations: 0.7859 MB / 1.005 GB, free: 8.223 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.730964131653309]