Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 106.5 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 190.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.712/2.712, allocations: 443.4 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.88 kB / 1.059 GB, free: 428 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3293, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002798/0.3321, allocations: 1.37 MB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001795/0.3323, allocations: 47.83 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.3323, allocations: 3.938 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.3325, allocations: 7.922 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.3326, allocations: 15.92 kB / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.105e-06/0.3326, allocations: 0 / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.3327, allocations: 31.73 kB / 1.218 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.3327, allocations: 0 / 1.218 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.265e-05/0.3328, allocations: 4 kB / 1.218 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.3328, allocations: 19.86 kB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3328, allocations: 0 / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 4.973e-05/0.3329, allocations: 15.98 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.3329, allocations: 8 kB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.333, allocations: 3.938 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.3331, allocations: 35.84 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3331, allocations: 0 / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3331, allocations: 0 / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.3331, allocations: 0 / 1.218 GB, free: 13.82 MB / 0.9669 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.0003993/0.3335, allocations: 343.2 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3335, allocations: 8.031 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.3336, allocations: 4.938 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.3338, allocations: 180.3 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-06/0.3338, allocations: 384 / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.3338, allocations: 384 / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.009e-05/0.3339, allocations: 34.25 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3339, allocations: 192 / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.3339, allocations: 3.938 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.3339, allocations: 3.938 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.3339, allocations: 4 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.3341, allocations: 165.7 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.3341, allocations: 14.58 kB / 1.218 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.3342, allocations: 8.922 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.3342, allocations: 0 / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3342, allocations: 30.56 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.3342, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.3344, allocations: 49.56 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3344, allocations: 55.53 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.3345, allocations: 114.1 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.3345, allocations: 25.7 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.3346, allocations: 88.14 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3346, allocations: 3.953 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.3346, allocations: 13.72 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3348, allocations: 318.8 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.3348, allocations: 3.938 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.3348, allocations: 15.94 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.3348, allocations: 12.8 kB / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3348, allocations: 0 / 1.219 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.547e-05/0.3349, allocations: 33.69 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3349, allocations: 8 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3349, allocations: 3.938 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3349, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.58e-05/0.335, allocations: 0 / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.335, allocations: 8.062 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.335, allocations: 4.094 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.335, allocations: 4 kB / 1.219 GB, free: 12.06 MB / 0.9669 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.819e-05/0.3351, allocations: 105.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.3351, allocations: 7.953 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.312e-05/0.3352, allocations: 53.09 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3352, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.3352, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3352, allocations: 0 / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.3353, allocations: 161.7 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3353, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.3353, allocations: 4 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3353, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3353, allocations: 3.938 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3353, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.3353, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.933e-05/0.3354, allocations: 65.06 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3355, allocations: 81.14 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3355, allocations: 3.938 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.3355, allocations: 4 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.3355, allocations: 0 / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3355, allocations: 4 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.3356, allocations: 91.27 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3356, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000183/0.3357, allocations: 7.953 kB / 1.22 GB, free: 11.37 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 (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.0002359/0.336, allocations: 131.9 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.3361, allocations: 15.92 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3361, allocations: 0 / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.3361, allocations: 0 / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.3362, allocations: 4 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.3365, allocations: 133.4 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.3368, allocations: 0.6768 MB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.686e-05/0.3368, allocations: 4 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.3369, allocations: 7.438 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.3369, allocations: 0 / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of Templates: time 0.002891/0.3398, allocations: 0.4968 MB / 1.221 GB, free: 9.855 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.0739692049101]