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.00184/0.00184, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.002149/0.002149, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.4/1.4, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.73/2.73, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002059/0.002059, allocations: 59.91 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.777/0.779, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002107/0.7812, allocations: 1.389 MB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/0.7813, allocations: 44.25 kB / 1.155 GB, free: 32.38 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.503e-05/0.7813, allocations: 2.812 kB / 1.155 GB, free: 32.38 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.7814, allocations: 11.31 kB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.535e-05/0.7815, allocations: 21.39 kB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.7815, allocations: 7.938 kB / 1.155 GB, free: 32.35 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.861e-05/0.7816, allocations: 13.59 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.7816, allocations: 2.781 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.516e-05/0.7817, allocations: 6.078 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.299e-05/0.7817, allocations: 10.78 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.7817, allocations: 2.75 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.025e-05/0.7818, allocations: 9.25 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.7818, allocations: 10.75 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.469e-05/0.7818, allocations: 3.984 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.508e-05/0.7819, allocations: 29.81 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7819, allocations: 4 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7819, allocations: 2.844 kB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.7819, allocations: 0 / 1.155 GB, free: 32.31 MB / 1.076 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.0002254/0.7821, allocations: 261.3 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.7822, allocations: 11.39 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.7822, allocations: 11.7 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.7823, allocations: 119.9 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.7823, allocations: 3.75 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.7823, allocations: 384 / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.917e-05/0.7824, allocations: 29.02 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.7824, allocations: 4.188 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-06/0.7824, allocations: 6.594 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.7824, allocations: 0 / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.674e-05/0.7824, allocations: 2.531 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.94e-05/0.7825, allocations: 106.2 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.329e-05/0.7825, allocations: 22.5 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.7826, allocations: 11.45 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.7826, allocations: 3.328 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.03e-05/0.7826, allocations: 33.47 kB / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.7826, allocations: 0 / 1.156 GB, free: 31.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 9.911e-05/0.7827, allocations: 45.69 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.576e-05/0.7827, allocations: 55.34 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.7828, allocations: 117.9 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-06/0.7828, allocations: 25.7 kB / 1.156 GB, free: 31.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.68e-05/0.7828, allocations: 87.02 kB / 1.156 GB, free: 31.31 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.7828, allocations: 0 / 1.156 GB, free: 31.31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.7828, allocations: 12.34 kB / 1.156 GB, free: 31.3 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.7829, allocations: 318.3 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.7829, allocations: 6.812 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.7829, allocations: 0 / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.7829, allocations: 18.86 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7829, allocations: 3.938 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.322e-05/0.783, allocations: 45.34 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.783, allocations: 2.5 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.783, allocations: 2.562 kB / 1.157 GB, free: 30.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.783, allocations: 3.938 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.925e-05/0.783, allocations: 0 / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.783, allocations: 2.562 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.188e-05/0.783, allocations: 0 / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.783, allocations: 0 / 1.157 GB, free: 30.91 MB / 1.076 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 3.461e-05/0.7831, allocations: 113 kB / 1.157 GB, free: 30.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.438e-06/0.7831, allocations: 6.5 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.7831, allocations: 39.98 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7831, allocations: 3.938 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.7832, allocations: 0 / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.7832, allocations: 3.234 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.014e-05/0.7832, allocations: 106.6 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7832, allocations: 3.188 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.7832, allocations: 7.094 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.7832, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-06/0.7832, allocations: 4.031 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.7832, allocations: 0 / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7832, allocations: 7.938 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.98e-05/0.7833, allocations: 66.81 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.7833, allocations: 0 / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.7833, allocations: 2.5 kB / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-06/0.7833, allocations: 0 / 1.157 GB, free: 30.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.7833, allocations: 3.938 kB / 1.157 GB, free: 30.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.7833, allocations: 0 / 1.157 GB, free: 30.53 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.516e-05/0.7833, allocations: 97.42 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7833, allocations: 4.031 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001877/0.7835, allocations: 2.906 kB / 1.157 GB, free: 30.45 MB / 1.076 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.0001491/0.7837, allocations: 121.8 kB / 1.157 GB, free: 30.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.442e-05/0.7837, allocations: 13.06 kB / 1.157 GB, free: 30.34 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.7837, allocations: 3.938 kB / 1.157 GB, free: 30.33 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-06/0.7838, allocations: 11.19 kB / 1.157 GB, free: 30.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.7839, allocations: 0 / 1.157 GB, free: 30.32 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.7841, allocations: 113.6 kB / 1.157 GB, free: 30.21 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.004e-05/0.7841, allocations: 66.34 kB / 1.157 GB, free: 30.14 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.7841, allocations: 2.531 kB / 1.157 GB, free: 30.14 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.7842, allocations: 8.5 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of SimCode: time 2.8e-07/0.7842, allocations: 2.781 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of Templates: time 0.002436/0.7866, allocations: 0.4989 MB / 1.158 GB, free: 30.02 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.064890111912973]