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.001227/0.001227, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001287/0.001287, allocations: 190.1 kB / 22.23 MB, free: 5.105 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.316/1.316, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.9/2.9, allocations: 0.4893 GB / 0.7884 GB, free: 33.34 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.002/0.002, allocations: 66.25 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3057, allocations: 174.8 MB / 1.316 GB, free: 9.738 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003145/0.3088, allocations: 1.511 MB / 1.317 GB, free: 8.219 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001885/0.3107, allocations: 1.204 MB / 1.319 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.3108, allocations: 0 / 1.319 GB, free: 7.008 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.3109, allocations: 27.84 kB / 1.319 GB, free: 6.98 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002238/0.3112, allocations: 39.78 kB / 1.319 GB, free: 6.941 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.3114, allocations: 55.36 kB / 1.319 GB, free: 6.891 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002372/0.3116, allocations: 151.6 kB / 1.319 GB, free: 6.742 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.3118, allocations: 41.22 kB / 1.319 GB, free: 6.699 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3119, allocations: 87.69 kB / 1.319 GB, free: 6.613 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.3121, allocations: 59.7 kB / 1.319 GB, free: 6.555 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.3122, allocations: 12 kB / 1.319 GB, free: 6.543 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.753e-05/0.3123, allocations: 27.98 kB / 1.319 GB, free: 6.516 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.168e-05/0.3124, allocations: 43.83 kB / 1.319 GB, free: 6.473 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.3125, allocations: 75.58 kB / 1.319 GB, free: 6.398 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.3128, allocations: 195.2 kB / 1.319 GB, free: 6.207 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3128, allocations: 0 / 1.319 GB, free: 6.207 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.463e-06/0.3128, allocations: 0 / 1.319 GB, free: 6.207 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.703e-06/0.3128, allocations: 7.938 kB / 1.319 GB, free: 6.199 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.0007538/0.3135, allocations: 425.3 kB / 1.32 GB, free: 5.754 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3136, allocations: 16.02 kB / 1.32 GB, free: 5.738 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.3137, allocations: 16.84 kB / 1.32 GB, free: 5.723 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.314, allocations: 197.9 kB / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.3141, allocations: 119.3 kB / 1.32 GB, free: 5.363 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3142, allocations: 4.375 kB / 1.32 GB, free: 5.359 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.3145, allocations: 169.6 kB / 1.32 GB, free: 5.188 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3145, allocations: 4 kB / 1.32 GB, free: 5.184 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.3146, allocations: 0 / 1.32 GB, free: 5.184 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.3146, allocations: 11.98 kB / 1.32 GB, free: 5.172 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.668e-05/0.3147, allocations: 47.89 kB / 1.32 GB, free: 5.125 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3158, allocations: 427.5 kB / 1.321 GB, free: 4.664 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.3159, allocations: 34.56 kB / 1.321 GB, free: 4.621 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.3159, allocations: 20.84 kB / 1.321 GB, free: 4.598 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3159, allocations: 8.141 kB / 1.321 GB, free: 4.59 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.316, allocations: 38.56 kB / 1.321 GB, free: 4.543 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.316, allocations: 4 kB / 1.321 GB, free: 4.539 MB / 1.014 GB
Notification: Performance of matching and sorting (n=8): time 0.0002788/0.3162, allocations: 101.5 kB / 1.321 GB, free: 4.434 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.3163, allocations: 51.41 kB / 1.321 GB, free: 4.371 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.3165, allocations: 219.7 kB / 1.321 GB, free: 4.145 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.3166, allocations: 29.7 kB / 1.321 GB, free: 4.109 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.3167, allocations: 124.2 kB / 1.321 GB, free: 3.984 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.3167, allocations: 31.78 kB / 1.321 GB, free: 3.953 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.3167, allocations: 33.7 kB / 1.321 GB, free: 3.914 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001464/0.3169, allocations: 330.8 kB / 1.322 GB, free: 3.582 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.091e-05/0.3169, allocations: 19.98 kB / 1.322 GB, free: 3.562 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3171, allocations: 98.28 kB / 1.322 GB, free: 3.43 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3172, allocations: 146.1 kB / 1.322 GB, free: 3.25 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3173, allocations: 4 kB / 1.322 GB, free: 3.246 MB / 1.014 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002577/0.3175, allocations: 157.5 kB / 1.322 GB, free: 3.086 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3175, allocations: 4 kB / 1.322 GB, free: 3.082 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3175, allocations: 4 kB / 1.322 GB, free: 3.078 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3176, allocations: 4 kB / 1.322 GB, free: 3.074 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3177, allocations: 31.92 kB / 1.322 GB, free: 3.043 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.823e-05/0.3177, allocations: 7.938 kB / 1.322 GB, free: 3.035 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.886e-05/0.3177, allocations: 11.89 kB / 1.322 GB, free: 3.023 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3178, allocations: 8 kB / 1.322 GB, free: 3.016 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.0001387/0.3179, allocations: 155.2 kB / 1.322 GB, free: 2.855 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.318, allocations: 11.91 kB / 1.322 GB, free: 2.844 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.3182, allocations: 118.7 kB / 1.323 GB, free: 2.719 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3182, allocations: 0 / 1.323 GB, free: 2.719 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3182, allocations: 3.938 kB / 1.323 GB, free: 2.715 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3182, allocations: 0 / 1.323 GB, free: 2.715 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.3185, allocations: 204.6 kB / 1.323 GB, free: 2.473 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3185, allocations: 0 / 1.323 GB, free: 2.473 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.3185, allocations: 19.92 kB / 1.323 GB, free: 2.453 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3185, allocations: 0 / 1.323 GB, free: 2.453 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.3185, allocations: 4 kB / 1.323 GB, free: 2.449 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3185, allocations: 4 kB / 1.323 GB, free: 2.445 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3185, allocations: 3.938 kB / 1.323 GB, free: 2.441 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.3188, allocations: 183.8 kB / 1.323 GB, free: 2.246 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.3188, allocations: 15.91 kB / 1.323 GB, free: 2.23 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.3188, allocations: 7.938 kB / 1.323 GB, free: 2.223 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.3191, allocations: 19.97 kB / 1.323 GB, free: 2.203 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.3191, allocations: 7.938 kB / 1.323 GB, free: 2.195 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.3192, allocations: 19.97 kB / 1.323 GB, free: 2.176 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001541/0.3193, allocations: 156.1 kB / 1.323 GB, free: 2.023 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3193, allocations: 0 / 1.323 GB, free: 2.023 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002983/0.3196, allocations: 31.94 kB / 1.323 GB, free: 1.992 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.0002645/0.3199, allocations: 138.4 kB / 1.323 GB, free: 1.855 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001725/0.32, allocations: 71.83 kB / 1.323 GB, free: 1.785 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.32, allocations: 3.938 kB / 1.323 GB, free: 1.781 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.3201, allocations: 23.98 kB / 1.323 GB, free: 1.758 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.3204, allocations: 12.75 kB / 1.323 GB, free: 1.746 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005864/0.321, allocations: 306.6 kB / 1.324 GB, free: 1.422 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.3214, allocations: 0.7275 MB / 1.324 GB, free: 0.668 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001306/0.3215, allocations: 55.3 kB / 1.324 GB, free: 0.6211 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.3216, allocations: 15.44 kB / 1.324 GB, free: 0.6055 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.3216, allocations: 4 kB / 1.324 GB, free: 0.6016 MB / 1.014 GB
Notification: Performance of Templates: time 0.006143/0.3277, allocations: 2.445 MB / 1.327 GB, free: 14.2 MB / 1.029 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  -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.952262260951102]