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.001405/0.001405, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001665/0.001665, allocations: 212.1 kB / 22.24 MB, free: 5.242 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.288/3.288, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 69.67 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003394/0.3533, allocations: 1.393 MB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002163/0.3535, allocations: 43.83 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.162e-05/0.3536, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001899/0.3538, allocations: 7.938 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.3539, allocations: 23.84 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.778e-06/0.3539, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.324e-05/0.354, allocations: 15.94 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.354, allocations: 7.922 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.3541, allocations: 7.938 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.3541, allocations: 15.94 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3542, allocations: 0 / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-05/0.3542, allocations: 15.98 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.3543, allocations: 4 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.3543, allocations: 11.92 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.3544, allocations: 27.84 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3544, allocations: 4 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3544, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3544, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 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.0003783/0.3548, allocations: 258.2 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3549, allocations: 8.031 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.3549, allocations: 16.88 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.3551, allocations: 118.5 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3551, allocations: 4.359 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-06/0.3551, allocations: 384 / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.629e-05/0.3552, allocations: 34.2 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3552, allocations: 192 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3552, allocations: 3.938 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.3552, allocations: 0 / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.3553, allocations: 4 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.3554, allocations: 105.3 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.974e-05/0.3555, allocations: 22.61 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.3555, allocations: 8.859 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3555, allocations: 3.984 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3555, allocations: 42.55 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.3555, allocations: 0 / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.3557, allocations: 37.64 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.3557, allocations: 51.41 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3559, allocations: 113.8 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.3559, allocations: 25.7 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.3559, allocations: 88.14 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.356, allocations: 8.078 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.356, allocations: 13.7 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3561, allocations: 318.8 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.3561, allocations: 0 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.055e-05/0.3561, allocations: 4 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.3562, allocations: 12.8 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3562, allocations: 0 / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.766e-05/0.3562, allocations: 37.69 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.3563, allocations: 8 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3563, allocations: 4.031 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3563, allocations: 7.938 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.3563, allocations: 0 / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3563, allocations: 4 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/0.3564, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.3564, allocations: 3.938 kB / 1.367 GB, free: 10.52 MB / 1.061 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.833e-05/0.3564, allocations: 106.9 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.3564, allocations: 11.94 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.763e-05/0.3565, allocations: 45.11 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3566, allocations: 3.938 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3566, allocations: 4.031 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.3566, allocations: 0 / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.117e-05/0.3566, allocations: 105.3 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3566, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.802e-05/0.3567, allocations: 4 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3567, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.3567, allocations: 0 / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3567, allocations: 3.984 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3567, allocations: 7.938 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.416e-05/0.3568, allocations: 61.08 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.3568, allocations: 7.984 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.3568, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-06/0.3568, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.3568, allocations: 7.922 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.3568, allocations: 4 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.202e-05/0.3569, allocations: 95.58 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3569, allocations: 0 / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001914/0.3571, allocations: 4 kB / 1.367 GB, free: 9.98 MB / 1.061 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.0002299/0.3573, allocations: 115.1 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.184e-05/0.3574, allocations: 8 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3574, allocations: 0 / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.3574, allocations: 3.938 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.3576, allocations: 10.34 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.3579, allocations: 105.6 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.813e-05/0.3579, allocations: 59.34 kB / 1.367 GB, free: 9.633 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.492e-05/0.358, allocations: 16.05 kB / 1.367 GB, free: 9.617 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.233e-05/0.358, allocations: 7.438 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.358, allocations: 0 / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of Templates: time 0.003005/0.361, allocations: 499.8 kB / 1.368 GB, free: 9.125 MB / 1.061 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: 8.837654070928693]