Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008757/0.0008757, allocations: 76.55 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.0008802/0.0008802, allocations: 181.9 kB / 23.22 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.9033/0.9033, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.771/1.771, allocations: 377.8 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.286e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002715/0.002747, allocations: 1.4 MB / 0.9835 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001587/0.002906, allocations: 39.88 kB / 0.9836 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.002952, allocations: 3.938 kB / 0.9836 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.003142, allocations: 11.88 kB / 0.9836 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.003274, allocations: 11.98 kB / 0.9836 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.801e-06/0.00328, allocations: 4 kB / 0.9836 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.018e-05/0.00337, allocations: 15.88 kB / 0.9836 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 5.32e-05/0.003423, allocations: 11.92 kB / 0.9836 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.003479, allocations: 11.98 kB / 0.9836 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.003538, allocations: 7.984 kB / 0.9836 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.003563, allocations: 0 / 0.9836 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.003621, allocations: 15.94 kB / 0.9837 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.003665, allocations: 0 / 0.9837 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.003684, allocations: 4 kB / 0.9837 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.003815, allocations: 35.83 kB / 0.9837 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.003818, allocations: 0 / 0.9837 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.572e-06/0.003819, allocations: 4 kB / 0.9837 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.003824, allocations: 0 / 0.9837 GB, free: 0.5 MB / 0.9323 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.0003403/0.004164, allocations: 258.2 kB / 0.9839 GB, free: 220 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.004205, allocations: 8.031 kB / 0.984 GB, free: 212 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.00441, allocations: 4.938 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.004582, allocations: 121.7 kB / 0.9841 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.004592, allocations: 384 / 0.9841 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.0046, allocations: 384 / 0.9841 GB, free: 60 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.811e-05/0.004698, allocations: 30.27 kB / 0.9841 GB, free: 24 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.00471, allocations: 192 / 0.9841 GB, free: 24 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.00472, allocations: 384 / 0.9841 GB, free: 24 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.004748, allocations: 8.375 kB / 0.9841 GB, free: 16 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.471e-05/0.004782, allocations: 15.86 kB / 0.9841 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.004982, allocations: 101.3 kB / 0.9842 GB, free: 15.87 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.655e-05/0.005049, allocations: 22.61 kB / 0.9842 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.005073, allocations: 12.8 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.005105, allocations: 3.984 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.005139, allocations: 38.56 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 2.235e-06/0.005141, allocations: 0 / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0002031/0.005344, allocations: 41.64 kB / 0.9843 GB, free: 15.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.005396, allocations: 55.53 kB / 0.9844 GB, free: 15.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.005538, allocations: 121.8 kB / 0.9845 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.005553, allocations: 25.7 kB / 0.9845 GB, free: 15.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.005595, allocations: 84.14 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.005626, allocations: 7.938 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.005664, allocations: 13.72 kB / 0.9846 GB, free: 15.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.005784, allocations: 314.8 kB / 0.9849 GB, free: 15.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.005796, allocations: 0 / 0.9849 GB, free: 15.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-06/0.005806, allocations: 4 kB / 0.9849 GB, free: 15.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.005837, allocations: 12.86 kB / 0.9849 GB, free: 15.05 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00584, allocations: 8 kB / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.789e-05/0.005908, allocations: 37.69 kB / 0.985 GB, free: 15 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.005925, allocations: 6.969 kB / 0.985 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.00593, allocations: 0 / 0.985 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.005945, allocations: 0 / 0.985 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.006006, allocations: 4 kB / 0.985 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.006011, allocations: 0 / 0.985 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.006028, allocations: 3.938 kB / 0.985 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.006033, allocations: 0 / 0.985 GB, free: 14.99 MB / 0.948 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.054e-05/0.006104, allocations: 118.4 kB / 0.9851 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.006114, allocations: 7.984 kB / 0.9851 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.006218, allocations: 41.11 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00622, allocations: 0 / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.006225, allocations: 0 / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.00623, allocations: 7.922 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.137e-05/0.006311, allocations: 105.3 kB / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006313, allocations: 0 / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.006333, allocations: 4 kB / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.006337, allocations: 3.984 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.006342, allocations: 0 / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.006344, allocations: 4.031 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.006345, allocations: 0 / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.994e-05/0.006425, allocations: 73 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.006438, allocations: 7.891 kB / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.006452, allocations: 3.984 kB / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.006463, allocations: 0 / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.006478, allocations: 3.938 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.006483, allocations: 8 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.006538, allocations: 91.28 kB / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.006538, allocations: 0 / 0.9855 GB, free: 14.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002334/0.006771, allocations: 11.92 kB / 0.9855 GB, free: 14.45 MB / 0.948 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.0002026/0.006974, allocations: 114.5 kB / 0.9856 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.864e-05/0.007053, allocations: 4 kB / 0.9856 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007054, allocations: 0 / 0.9856 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.727e-06/0.007063, allocations: 4 kB / 0.9856 GB, free: 14.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.007229, allocations: 10.22 kB / 0.9856 GB, free: 14.31 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.00752, allocations: 138.6 kB / 0.9857 GB, free: 14.14 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.853e-05/0.007568, allocations: 63.28 kB / 0.9858 GB, free: 14.06 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.007593, allocations: 12.5 kB / 0.9858 GB, free: 14.05 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.007593, allocations: 0 / 0.9858 GB, free: 14.05 MB / 0.948 GB Notification: Performance of Templates: time 0.001874/0.009468, allocations: 0.7814 MB / 0.9866 GB, free: 13.27 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.907640825025737]