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.001568/0.001568, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001701/0.001701, allocations: 159.2 kB / 23.01 MB, free: 4.602 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.414/1.414, allocations: 177.2 MB / 203.4 MB, free: 8.953 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 2.858/2.858, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 177] 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.002102/0.002102, allocations: 63.89 kB / 1.009 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7612/0.7633, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002291/0.7656, allocations: 1.403 MB / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001488/0.7657, allocations: 41.16 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.7658, allocations: 6 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.7659, allocations: 15.94 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.616e-05/0.766, allocations: 16.88 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.766, allocations: 0 / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.7661, allocations: 21.16 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.7661, allocations: 3.016 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.7661, allocations: 4.516 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.852e-05/0.7662, allocations: 16.98 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.7662, allocations: 1 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.31e-05/0.7662, allocations: 12.94 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.7663, allocations: 9.984 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.649e-05/0.7663, allocations: 10.22 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.519e-05/0.7664, allocations: 29.42 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7664, allocations: 1.844 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7664, allocations: 0 / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7664, allocations: 0 / 1.188 GB, free: 15.11 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.0002387/0.7666, allocations: 262.2 kB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.7667, allocations: 10.42 kB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.7667, allocations: 2.344 kB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.7668, allocations: 122.1 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.7668, allocations: 1.469 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.311e-06/0.7668, allocations: 5.531 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.588e-05/0.7669, allocations: 31 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7669, allocations: 192 / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.7669, allocations: 5.281 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.7669, allocations: 0.5625 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.982e-05/0.7669, allocations: 6.797 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.19e-05/0.767, allocations: 105 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.474e-05/0.7671, allocations: 17.38 kB / 1.189 GB, free: 14.51 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.7671, allocations: 6.5 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.7671, allocations: 5.625 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.7671, allocations: 36.64 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.7671, allocations: 0 / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.00011/0.7672, allocations: 43.11 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.7672, allocations: 51.41 kB / 1.189 GB, free: 14.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.7673, allocations: 116.3 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-06/0.7673, allocations: 25.7 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.801e-05/0.7673, allocations: 86.77 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.7674, allocations: 6.031 kB / 1.189 GB, free: 14.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.7674, allocations: 11.56 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.7674, allocations: 318.8 kB / 1.189 GB, free: 13.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.7674, allocations: 5.656 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.7674, allocations: 1.531 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.238e-05/0.7675, allocations: 18.03 kB / 1.189 GB, free: 13.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.7675, allocations: 0 / 1.189 GB, free: 13.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.91e-05/0.7675, allocations: 38.88 kB / 1.189 GB, free: 13.74 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.7675, allocations: 6 kB / 1.189 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.7675, allocations: 0 / 1.189 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.7675, allocations: 3.938 kB / 1.189 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.198e-05/0.7676, allocations: 2.219 kB / 1.189 GB, free: 13.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.7676, allocations: 5.719 kB / 1.189 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.277e-05/0.7676, allocations: 0.6562 kB / 1.189 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.7676, allocations: 0 / 1.189 GB, free: 13.73 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.601e-05/0.7676, allocations: 113.1 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.7676, allocations: 6.922 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.7677, allocations: 46.45 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.7677, allocations: 5.344 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7677, allocations: 0 / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.7677, allocations: 0.7969 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.521e-05/0.7678, allocations: 109.5 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7678, allocations: 8.031 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/0.7678, allocations: 1.984 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7678, allocations: 1.438 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.7678, allocations: 0.6094 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.7678, allocations: 0 / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7678, allocations: 3.938 kB / 1.19 GB, free: 13.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.341e-05/0.7679, allocations: 62.34 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.7679, allocations: 5.906 kB / 1.19 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.7679, allocations: 4.734 kB / 1.19 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.032e-05/0.7679, allocations: 1.469 kB / 1.19 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-06/0.7679, allocations: 7.969 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.7679, allocations: 1.797 kB / 1.19 GB, free: 13.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.7679, allocations: 95.69 kB / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7679, allocations: 0 / 1.19 GB, free: 13.26 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001903/0.7681, allocations: 2.656 kB / 1.19 GB, free: 13.26 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.0001569/0.7683, allocations: 119 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.998e-05/0.7683, allocations: 10.2 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7683, allocations: 0 / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.578e-06/0.7684, allocations: 3.5 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.7685, allocations: 5.375 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.7687, allocations: 112.8 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.7687, allocations: 65.8 kB / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.7688, allocations: 8.094 kB / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.7688, allocations: 10.53 kB / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.7688, allocations: 4.125 kB / 1.19 GB, free: 12.95 MB / 1.076 GB Notification: Performance of Templates: time 0.002677/0.7715, allocations: 498.8 kB / 1.191 GB, free: 12.85 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.441029986017384]