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.0007839/0.0007839, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001814, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009136/0.0009136, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002239, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9896/0.9896, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08331/1.073, allocations: 53.67 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.398/2.398, allocations: 446.7 MB / 0.6745 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2495/2.648, allocations: 145.9 MB / 0.817 GB, free: 4.191 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.633e-05, allocations: 4.422 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002504/0.00252, allocations: 1.478 MB / 0.8197 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 9.514e-05/0.002615, allocations: 35.83 kB / 0.8197 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.002662, allocations: 0 / 0.8197 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.002772, allocations: 15.88 kB / 0.8198 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.436e-05/0.002847, allocations: 23.84 kB / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.427e-06/0.00285, allocations: 0 / 0.8198 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.002926, allocations: 15.94 kB / 0.8198 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.002966, allocations: 4 kB / 0.8198 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.003044, allocations: 11.92 kB / 0.8198 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.003093, allocations: 4 kB / 0.8198 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.003115, allocations: 0 / 0.8198 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-05/0.003168, allocations: 15.98 kB / 0.8198 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.003207, allocations: 7.938 kB / 0.8198 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.003227, allocations: 0 / 0.8198 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.003342, allocations: 31.84 kB / 0.8199 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.722e-05/0.003359, allocations: 7.938 kB / 0.8199 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.42e-07/0.00336, allocations: 0 / 0.8199 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.882e-05/0.003378, allocations: 0 / 0.8199 GB, free: 1.25 MB / 0.7917 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.0003123/0.003691, allocations: 236.5 kB / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.003732, allocations: 8.625 kB / 0.8201 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.003763, allocations: 8.922 kB / 0.8201 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.00393, allocations: 121.7 kB / 0.8202 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.003939, allocations: 384 / 0.8202 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-06/0.003946, allocations: 384 / 0.8202 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.004043, allocations: 33.09 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.004051, allocations: 4.188 kB / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.004058, allocations: 384 / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.004087, allocations: 384 / 0.8203 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.689e-05/0.004104, allocations: 11.88 kB / 0.8203 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.004328, allocations: 66.64 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.004366, allocations: 18.61 kB / 0.8204 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.004379, allocations: 4.859 kB / 0.8204 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.004401, allocations: 0 / 0.8204 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.004427, allocations: 34.62 kB / 0.8204 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.004428, allocations: 0 / 0.8204 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.0001017/0.004529, allocations: 37.64 kB / 0.8204 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.004566, allocations: 55.39 kB / 0.8205 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/0.004654, allocations: 110.7 kB / 0.8206 GB, free: 396 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.004666, allocations: 29.7 kB / 0.8206 GB, free: 360 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.004695, allocations: 92.05 kB / 0.8207 GB, free: 264 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.004718, allocations: 0 / 0.8207 GB, free: 264 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.004743, allocations: 13.72 kB / 0.8207 GB, free: 244 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.004876, allocations: 318.8 kB / 0.821 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-06/0.004882, allocations: 0 / 0.821 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-06/0.004889, allocations: 4 kB / 0.821 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.256e-05/0.004911, allocations: 15.86 kB / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.004914, allocations: 0 / 0.8211 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.856e-05/0.004962, allocations: 37.64 kB / 0.8211 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.004975, allocations: 4 kB / 0.8211 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.00498, allocations: 0 / 0.8211 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.004988, allocations: 0 / 0.8211 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.005039, allocations: 4 kB / 0.8211 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.005042, allocations: 0 / 0.8211 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.078e-05/0.005053, allocations: 0 / 0.8211 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.005058, allocations: 3.984 kB / 0.8211 GB, free: 15.84 MB / 0.8073 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.374e-05/0.005112, allocations: 116.6 kB / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.005119, allocations: 4 kB / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.709e-05/0.005186, allocations: 45.09 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.005188, allocations: 0 / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.005189, allocations: 0 / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005192, allocations: 0 / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.704e-05/0.005249, allocations: 65.84 kB / 0.8213 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.00525, allocations: 0 / 0.8213 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.005261, allocations: 4 kB / 0.8213 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.00527, allocations: 7.938 kB / 0.8213 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.005271, allocations: 4.031 kB / 0.8213 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-06/0.005274, allocations: 0 / 0.8213 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.005276, allocations: 8 kB / 0.8213 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005277, allocations: 320 / 0.8213 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.379e-05/0.005331, allocations: 55.91 kB / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.005342, allocations: 4 kB / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.005352, allocations: 7.984 kB / 0.8214 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.194e-05/0.005364, allocations: 0 / 0.8214 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.005366, allocations: 0 / 0.8214 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.005387, allocations: 28.77 kB / 0.8214 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.005387, allocations: 7.969 kB / 0.8214 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001483/0.005535, allocations: 4 kB / 0.8214 GB, free: 15.43 MB / 0.8073 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.0001831/0.005718, allocations: 98.08 kB / 0.8215 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.864e-05/0.005777, allocations: 4.859 kB / 0.8215 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.005785, allocations: 7.984 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.574e-06/0.005793, allocations: 8.922 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.461e-05/0.005868, allocations: 11.94 kB / 0.8216 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.006276, allocations: 119.4 kB / 0.8217 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.58e-05/0.006352, allocations: 59.34 kB / 0.8217 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.006368, allocations: 0 / 0.8217 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.006402, allocations: 55.31 kB / 0.8218 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of SimCode: time 1.022e-06/0.006403, allocations: 0 / 0.8218 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of Templates: time 0.002461/0.008864, allocations: 0.5739 MB / 0.8224 GB, free: 14.44 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.251373887993395]