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.001819/0.001819, allocations: 102.1 kB / 16.45 MB, free: 6.449 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.002142/0.002142, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] 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 3.186/3.186, allocations: 0.49 GB / 0.7916 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] 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.002134/0.002134, allocations: 68.73 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3328, allocations: 176.1 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002572/0.3353, allocations: 1.392 MB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.3355, allocations: 43.83 kB / 1.323 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.3355, allocations: 4 kB / 1.323 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.3357, allocations: 15.91 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.866e-05/0.3358, allocations: 11.94 kB / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.106e-06/0.3358, allocations: 0 / 1.323 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.69e-05/0.3359, allocations: 15.92 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.3359, allocations: 7.938 kB / 1.323 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.3359, allocations: 4 kB / 1.323 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.336, allocations: 19.91 kB / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.336, allocations: 0 / 1.323 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5e-05/0.3361, allocations: 11.94 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.3361, allocations: 8 kB / 1.323 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.3361, allocations: 7.938 kB / 1.323 GB, free: 1.293 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3362, allocations: 35.83 kB / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3362, allocations: 0 / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3362, allocations: 0 / 1.323 GB, free: 1.258 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3362, allocations: 0 / 1.323 GB, free: 1.258 MB / 1.014 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.0003715/0.3366, allocations: 339.3 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3367, allocations: 15.98 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.3367, allocations: 4.891 kB / 1.323 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.3369, allocations: 172.4 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-06/0.3369, allocations: 4.375 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3369, allocations: 8.312 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.737e-05/0.337, allocations: 30.25 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.337, allocations: 192 / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.337, allocations: 7.938 kB / 1.323 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.337, allocations: 4 kB / 1.323 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.384e-05/0.337, allocations: 3.938 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.3372, allocations: 153.7 kB / 1.323 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.916e-05/0.3372, allocations: 26.61 kB / 1.323 GB, free: 360 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.3373, allocations: 4.859 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3373, allocations: 0 / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3373, allocations: 34.62 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.3373, allocations: 0 / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001314/0.3374, allocations: 49.52 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3375, allocations: 55.53 kB / 1.324 GB, free: 184 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3376, allocations: 117.8 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3376, allocations: 25.7 kB / 1.324 GB, free: 24 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.3377, allocations: 80.14 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.3377, allocations: 4 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.3377, allocations: 17.7 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3379, allocations: 310.8 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.3379, allocations: 4 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.3379, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.249e-05/0.3379, allocations: 20.86 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3379, allocations: 0 / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.015e-05/0.338, allocations: 41.64 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.338, allocations: 7.938 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.338, allocations: 4.25 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.338, allocations: 4 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-05/0.3381, allocations: 0 / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3381, allocations: 0 / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.3381, allocations: 32 / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3381, allocations: 7.984 kB / 1.324 GB, free: 15.5 MB / 1.029 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 8.391e-05/0.3382, allocations: 113.8 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.3382, allocations: 0 / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.933e-05/0.3383, allocations: 53.09 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.3383, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3383, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.3383, allocations: 3.938 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.3384, allocations: 157.7 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3384, allocations: 4.031 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.3384, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.3384, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.3384, allocations: 7.938 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3384, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3384, allocations: 4 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.89e-05/0.3385, allocations: 61.08 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.3386, allocations: 81.11 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3386, allocations: 11.91 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/0.3386, allocations: 4 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.3386, allocations: 0 / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.3386, allocations: 3.984 kB / 1.325 GB, free: 14.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.519e-05/0.3387, allocations: 99.25 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3387, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001942/0.3389, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 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.0002146/0.3391, allocations: 109.8 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.525e-05/0.3392, allocations: 11.98 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3392, allocations: 0 / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.3392, allocations: 4 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.3393, allocations: 3.938 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.3396, allocations: 113.5 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.3399, allocations: 0.6768 MB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.691e-05/0.34, allocations: 4 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.34, allocations: 15.44 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.34, allocations: 0 / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of Templates: time 0.002863/0.3429, allocations: 0.4947 MB / 1.326 GB, free: 13.32 MB / 1.029 GB " [Timeout remaining time 300] 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 -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/jenkins/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.807375237811357]