Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.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.001513/0.001513, allocations: 115.7 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.001715/0.001715, allocations: 200.2 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.379/1.379, 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 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.954/2.954, allocations: 497.2 MB / 0.7845 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") translateModel(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.1.|weeSchLin.y.2.|weeSchLin.y.3.|weeSchLin.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.89 kB / 1.139 GB, free: 33.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.321, allocations: 173.9 MB / 1.309 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002974/0.324, allocations: 1.501 MB / 1.311 GB, free: 14.44 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3257, allocations: 1.2 MB / 1.312 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.3258, allocations: 0 / 1.312 GB, free: 13.23 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.3259, allocations: 19.84 kB / 1.312 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002002/0.3261, allocations: 39.78 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.3264, allocations: 58.92 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.3266, allocations: 151.5 kB / 1.312 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3267, allocations: 41.03 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.3268, allocations: 79.77 kB / 1.312 GB, free: 12.85 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.3271, allocations: 59.69 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.3271, allocations: 12 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.3272, allocations: 24 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.3273, allocations: 51.81 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.3274, allocations: 75.58 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.3276, allocations: 199.2 kB / 1.313 GB, free: 12.44 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3277, allocations: 0 / 1.313 GB, free: 12.44 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3277, allocations: 3.938 kB / 1.313 GB, free: 12.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.3277, allocations: 0 / 1.313 GB, free: 12.43 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007514/0.3284, allocations: 0.4923 MB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3285, allocations: 8.922 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.419e-05/0.3285, allocations: 16.84 kB / 1.313 GB, free: 11.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.3289, allocations: 261.6 kB / 1.313 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.329, allocations: 123.3 kB / 1.314 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.3291, allocations: 8.375 kB / 1.314 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.3294, allocations: 168.3 kB / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3294, allocations: 0 / 1.314 GB, free: 11.26 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.3294, allocations: 4 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.3295, allocations: 8 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.565e-05/0.3296, allocations: 43.91 kB / 1.314 GB, free: 11.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.3307, allocations: 464.4 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.997e-05/0.3307, allocations: 38.5 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.3308, allocations: 20.86 kB / 1.314 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.3308, allocations: 12.14 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.3309, allocations: 30.56 kB / 1.314 GB, free: 10.58 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3309, allocations: 0 / 1.314 GB, free: 10.58 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.0002877/0.3311, allocations: 105.6 kB / 1.314 GB, free: 10.47 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3312, allocations: 59.34 kB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.3314, allocations: 212.8 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.3315, allocations: 29.7 kB / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.3316, allocations: 128.1 kB / 1.315 GB, free: 10.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.3316, allocations: 31.88 kB / 1.315 GB, free: 9.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-05/0.3316, allocations: 21.72 kB / 1.315 GB, free: 9.953 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3318, allocations: 334.8 kB / 1.315 GB, free: 9.617 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.3319, allocations: 19.98 kB / 1.315 GB, free: 9.598 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.332, allocations: 102.3 kB / 1.315 GB, free: 9.461 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.3321, allocations: 146.1 kB / 1.315 GB, free: 9.281 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3321, allocations: 0 / 1.315 GB, free: 9.281 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002528/0.3324, allocations: 157.3 kB / 1.316 GB, free: 9.121 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3324, allocations: 4 kB / 1.316 GB, free: 9.117 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3324, allocations: 8 kB / 1.316 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3324, allocations: 4 kB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3325, allocations: 19.98 kB / 1.316 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3326, allocations: 12.25 kB / 1.316 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.3326, allocations: 15.89 kB / 1.316 GB, free: 9.059 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.3326, allocations: 12 kB / 1.316 GB, free: 9.047 MB / 1.014 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.0001318/0.3328, allocations: 141.8 kB / 1.316 GB, free: 8.898 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.3328, allocations: 19.84 kB / 1.316 GB, free: 8.879 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.333, allocations: 122 kB / 1.316 GB, free: 8.758 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3331, allocations: 4 kB / 1.316 GB, free: 8.754 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3331, allocations: 3.938 kB / 1.316 GB, free: 8.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3331, allocations: 0 / 1.316 GB, free: 8.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.3333, allocations: 237.5 kB / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3333, allocations: 0 / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.3334, allocations: 12 kB / 1.316 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3334, allocations: 0 / 1.316 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.3334, allocations: 3.984 kB / 1.316 GB, free: 8.453 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.3334, allocations: 4.078 kB / 1.316 GB, free: 8.449 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3334, allocations: 7.922 kB / 1.316 GB, free: 8.441 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.3336, allocations: 187.4 kB / 1.316 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.3337, allocations: 89.02 kB / 1.316 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3337, allocations: 4 kB / 1.316 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.3339, allocations: 19.97 kB / 1.316 GB, free: 8.113 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.334, allocations: 11.94 kB / 1.316 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.334, allocations: 7.984 kB / 1.316 GB, free: 8.094 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001512/0.3341, allocations: 160.5 kB / 1.317 GB, free: 7.938 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3341, allocations: 0 / 1.317 GB, free: 7.938 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003036/0.3344, allocations: 31.94 kB / 1.317 GB, free: 7.906 MB / 1.014 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.0002929/0.3347, allocations: 138.7 kB / 1.317 GB, free: 7.766 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.3349, allocations: 76.5 kB / 1.317 GB, free: 7.691 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3349, allocations: 0 / 1.317 GB, free: 7.691 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.335, allocations: 28 kB / 1.317 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.3353, allocations: 21.86 kB / 1.317 GB, free: 7.645 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.3358, allocations: 302.6 kB / 1.317 GB, free: 7.324 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.3362, allocations: 0.7352 MB / 1.318 GB, free: 6.562 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.3363, allocations: 49.36 kB / 1.318 GB, free: 6.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.3363, allocations: 19.42 kB / 1.318 GB, free: 6.5 MB / 1.014 GB Notification: Performance of SimCode: time 6.12e-07/0.3363, allocations: 7.938 kB / 1.318 GB, free: 6.492 MB / 1.014 GB Notification: Performance of Templates: time 0.00576/0.3421, allocations: 2.41 MB / 1.32 GB, free: 4.113 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.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.154574806801975]