Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001364/0.001364, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001663/0.001663, allocations: 198.7 kB / 22.17 MB, free: 5.211 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 / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.85/2.85, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.91 kB / 1.109 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.8044, allocations: 168.7 MB / 1.274 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003206/0.8076, allocations: 1.511 MB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.8095, allocations: 1.194 MB / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.8096, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.8098, allocations: 19.86 kB / 1.277 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.81, allocations: 43.77 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.8102, allocations: 67.16 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.8104, allocations: 147.5 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.8106, allocations: 41 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.8107, allocations: 75.81 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.8109, allocations: 59.7 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.8109, allocations: 12 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.811, allocations: 35.92 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.8111, allocations: 47.83 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.8112, allocations: 79.56 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.8115, allocations: 193.9 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8115, allocations: 0 / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8115, allocations: 0 / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.8115, allocations: 0 / 1.277 GB, free: 0.9375 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007975/0.8123, allocations: 0.4931 MB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.8123, allocations: 12.03 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.8124, allocations: 20.8 kB / 1.278 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.8128, allocations: 263.9 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.8129, allocations: 123.4 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.813, allocations: 4.375 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.8133, allocations: 157.6 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.8133, allocations: 0 / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.8134, allocations: 4 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.8134, allocations: 15.98 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.8135, allocations: 39.92 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.8146, allocations: 456.5 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.679e-05/0.8147, allocations: 38.52 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.8148, allocations: 28.84 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.8148, allocations: 0 / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.8148, allocations: 34.56 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.8148, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003148/0.8151, allocations: 109.5 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.8152, allocations: 51.41 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.8155, allocations: 223.7 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.8155, allocations: 25.7 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.8156, allocations: 132.3 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.8156, allocations: 27.75 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.248e-05/0.8157, allocations: 29.7 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.8158, allocations: 326.8 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.8159, allocations: 27.97 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.816, allocations: 102.2 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.8162, allocations: 146 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8162, allocations: 4 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002538/0.8165, allocations: 153.3 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.8165, allocations: 11.98 kB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8165, allocations: 384 / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8165, allocations: 8 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.8166, allocations: 23.94 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.8166, allocations: 11.92 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.8167, allocations: 7.953 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.8167, allocations: 8 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.000139/0.8168, allocations: 146.3 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.83e-05/0.8169, allocations: 19.84 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.8171, allocations: 103.1 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.8171, allocations: 0 / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.8171, allocations: 7.938 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.8171, allocations: 3.984 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.8174, allocations: 229.6 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8174, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/0.8174, allocations: 15.98 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8174, allocations: 0 / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.8175, allocations: 4 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8175, allocations: 0 / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.8175, allocations: 7.875 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.8177, allocations: 195.3 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.8177, allocations: 89 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.8177, allocations: 7.984 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.818, allocations: 11.98 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.818, allocations: 15.92 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.818, allocations: 11.98 kB / 1.281 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001526/0.8182, allocations: 157.5 kB / 1.281 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8182, allocations: 8 kB / 1.281 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002965/0.8185, allocations: 23.95 kB / 1.281 GB, free: 12.41 MB / 0.9825 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 (8): * Single equations (assignments): 8 * 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.0003085/0.8188, allocations: 139.6 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.819, allocations: 72.16 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.819, allocations: 0 / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.819, allocations: 31.91 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.8194, allocations: 16 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.8199, allocations: 306.6 kB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.8203, allocations: 0.7318 MB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.8205, allocations: 56.72 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.8205, allocations: 15.44 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8205, allocations: 0 / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of Templates: time 0.005823/0.8263, allocations: 2.415 MB / 1.285 GB, free: 8.605 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.782710869330913]