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.002068/0.002068, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002521/0.002521, allocations: 162.2 kB / 22.46 MB, free: 5.375 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 3.021/3.021, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] 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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",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.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.386e-05, allocations: 6.219 kB / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003015/0.003049, allocations: 1.521 MB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.004963, allocations: 1.204 MB / 1.003 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.648e-05/0.005049, allocations: 7.938 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.00525, allocations: 23.8 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.005526, allocations: 39.72 kB / 1.003 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.00572, allocations: 47.92 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.00596, allocations: 155.5 kB / 1.003 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.006102, allocations: 33.28 kB / 1.003 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.006286, allocations: 107.7 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.006441, allocations: 46.33 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.449e-05/0.006496, allocations: 12 kB / 1.003 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.006586, allocations: 31.92 kB / 1.003 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.421e-05/0.006681, allocations: 47.83 kB / 1.003 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.436e-05/0.006775, allocations: 43.89 kB / 1.003 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.007146, allocations: 219.3 kB / 1.004 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007149, allocations: 0 / 1.004 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.51e-07/0.00715, allocations: 0 / 1.004 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.007162, allocations: 0 / 1.004 GB, free: 3.766 MB / 0.9512 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.0008062/0.007968, allocations: 433.3 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.008008, allocations: 12.03 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.683e-05/0.008095, allocations: 16.84 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.008535, allocations: 197.4 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.008762, allocations: 230.2 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.008782, allocations: 4.375 kB / 1.004 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.009288, allocations: 260.9 kB / 1.005 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.009298, allocations: 192 / 1.005 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.009324, allocations: 12.06 kB / 1.005 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/0.009353, allocations: 8 kB / 1.005 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.009454, allocations: 47.91 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.0105, allocations: 372.2 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.972e-05/0.01059, allocations: 42.48 kB / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.01063, allocations: 24.86 kB / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.01067, allocations: 3.984 kB / 1.005 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.01069, allocations: 38.5 kB / 1.005 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.01069, allocations: 0 / 1.005 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0002952/0.01099, allocations: 101.6 kB / 1.005 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.01103, allocations: 55.41 kB / 1.005 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.01126, allocations: 211.8 kB / 1.006 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.01132, allocations: 29.7 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.228e-05/0.01141, allocations: 124.2 kB / 1.006 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.01144, allocations: 23.75 kB / 1.006 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.0115, allocations: 37.7 kB / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.0117, allocations: 330.8 kB / 1.006 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.868e-05/0.01175, allocations: 27.97 kB / 1.006 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.01188, allocations: 94.3 kB / 1.006 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.01208, allocations: 150.1 kB / 1.006 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01208, allocations: 0 / 1.006 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002795/0.01236, allocations: 149.6 kB / 1.006 GB, free: 484 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.01238, allocations: 12.03 kB / 1.006 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01239, allocations: 0 / 1.006 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.0124, allocations: 4 kB / 1.006 GB, free: 468 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.01251, allocations: 23.98 kB / 1.006 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.01252, allocations: 11.94 kB / 1.006 GB, free: 432 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.515e-05/0.01259, allocations: 7.953 kB / 1.007 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.0126, allocations: 8 kB / 1.007 GB, free: 416 kB / 0.9512 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 0.0001533/0.01276, allocations: 149.7 kB / 1.007 GB, free: 256 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.01282, allocations: 15.91 kB / 1.007 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.01307, allocations: 127.3 kB / 1.007 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01307, allocations: 0 / 1.007 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.01308, allocations: 7.938 kB / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.01308, allocations: 0 / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.01332, allocations: 157.2 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01332, allocations: 0 / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.505e-05/0.01338, allocations: 15.98 kB / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01338, allocations: 0 / 1.007 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.01339, allocations: 4 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.01339, allocations: 0 / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01339, allocations: 4 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.01363, allocations: 195.7 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.01366, allocations: 15.84 kB / 1.007 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.01368, allocations: 3.984 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.01393, allocations: 15.98 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.01397, allocations: 11.98 kB / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.014, allocations: 11.98 kB / 1.007 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001593/0.01415, allocations: 153.5 kB / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.01415, allocations: 0 / 1.007 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003218/0.01448, allocations: 28 kB / 1.007 GB, free: 15.45 MB / 0.9669 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.0003205/0.0148, allocations: 128.1 kB / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.01499, allocations: 71.83 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01499, allocations: 0.75 kB / 1.008 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.01504, allocations: 27.92 kB / 1.008 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.01536, allocations: 27.92 kB / 1.008 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005908/0.01595, allocations: 286 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.01609, allocations: 118.2 kB / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.01622, allocations: 52.81 kB / 1.008 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.01626, allocations: 24.5 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.01626, allocations: 4 kB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.006323/0.02258, allocations: 2.418 MB / 1.01 GB, free: 12.28 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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: 8.186332039535046]