Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001913/0.001913, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002475/0.002475, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.471/1.471, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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 2.678/2.678, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 177] 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.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.668e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002797/0.002824, allocations: 1.4 MB / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001772/0.003001, allocations: 43.81 kB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.003047, allocations: 0.9375 kB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.003203, allocations: 11.88 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.003317, allocations: 23.84 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.666e-06/0.00332, allocations: 0.5625 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.003388, allocations: 16.62 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.986e-05/0.003418, allocations: 0 / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.003466, allocations: 8.609 kB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.003518, allocations: 15.92 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.003533, allocations: 0.875 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.613e-05/0.003579, allocations: 8 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.003628, allocations: 4.969 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.003652, allocations: 7.984 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.003761, allocations: 31.84 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003763, allocations: 2.906 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003763, allocations: 0 / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.003767, allocations: 0 / 0.7879 GB, free: 11.22 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.0003639/0.00413, allocations: 254.3 kB / 0.7881 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.004168, allocations: 12.03 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.004206, allocations: 0.9375 kB / 0.7881 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.004383, allocations: 121.7 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.004395, allocations: 4.375 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.004404, allocations: 5.672 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.5e-05/0.004489, allocations: 34.2 kB / 0.7883 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.004497, allocations: 4.125 kB / 0.7883 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.004504, allocations: 0.9688 kB / 0.7883 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.00452, allocations: 1.375 kB / 0.7883 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.323e-05/0.004554, allocations: 7.922 kB / 0.7883 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.004702, allocations: 105.4 kB / 0.7884 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.004749, allocations: 15.23 kB / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.442e-05/0.004773, allocations: 14.45 kB / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.855e-05/0.004792, allocations: 0 / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.004829, allocations: 42.48 kB / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.00483, allocations: 0 / 0.7885 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.004984, allocations: 34.98 kB / 0.7885 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.005026, allocations: 51.41 kB / 0.7886 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.005169, allocations: 125.8 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.005189, allocations: 28.11 kB / 0.7887 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.005243, allocations: 84.14 kB / 0.7888 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.005266, allocations: 7.938 kB / 0.7888 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.005299, allocations: 13.72 kB / 0.7888 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.005466, allocations: 314.8 kB / 0.7891 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.005488, allocations: 4 kB / 0.7891 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-06/0.005497, allocations: 4.469 kB / 0.7891 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.184e-05/0.005529, allocations: 13.58 kB / 0.7891 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.005531, allocations: 0.5312 kB / 0.7891 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.512e-05/0.005606, allocations: 43.28 kB / 0.7892 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.00562, allocations: 4 kB / 0.7892 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.005629, allocations: 7.984 kB / 0.7892 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.005646, allocations: 0 / 0.7892 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.005691, allocations: 0.625 kB / 0.7892 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.005695, allocations: 0 / 0.7892 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.005712, allocations: 4.625 kB / 0.7892 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.005719, allocations: 4 kB / 0.7892 GB, free: 9.719 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 8.847e-05/0.005808, allocations: 110.5 kB / 0.7893 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.005825, allocations: 12.73 kB / 0.7893 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.00591, allocations: 37.17 kB / 0.7894 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.005914, allocations: 5.375 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.005917, allocations: 0 / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.005922, allocations: 3.938 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.006024, allocations: 109.2 kB / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006025, allocations: 1.812 kB / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.006039, allocations: 0 / 0.7895 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.006044, allocations: 4 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.006054, allocations: 3.984 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006055, allocations: 0 / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006056, allocations: 1.156 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.208e-05/0.006148, allocations: 65.02 kB / 0.7895 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.006161, allocations: 8.516 kB / 0.7895 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.006175, allocations: 3.984 kB / 0.7896 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-06/0.006185, allocations: 0.7812 kB / 0.7896 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.006197, allocations: 0 / 0.7896 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.006199, allocations: 0.8438 kB / 0.7896 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.427e-05/0.006273, allocations: 91.28 kB / 0.7896 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006273, allocations: 1.781 kB / 0.7896 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002082/0.006481, allocations: 15.92 kB / 0.7897 GB, free: 9.199 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.000217/0.006699, allocations: 116.7 kB / 0.7898 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.15e-05/0.00676, allocations: 4 kB / 0.7898 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006762, allocations: 0 / 0.7898 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.006773, allocations: 3.938 kB / 0.7898 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.006922, allocations: 11.98 kB / 0.7898 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.007203, allocations: 110.7 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.452e-05/0.007267, allocations: 63.34 kB / 0.79 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.646e-05/0.007324, allocations: 4 kB / 0.79 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.00735, allocations: 8.5 kB / 0.79 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.007351, allocations: 0.5 kB / 0.79 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.002921/0.01027, allocations: 0.5431 MB / 0.7905 GB, free: 8.324 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.331099246046506]