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.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.0009912/0.0009912, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001045/0.001045, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.108/1.108, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.3/2.3, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Validation.WeeklyScheduleWindowsLineEndings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchLin.y.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.8385 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.132e-05, allocations: 14.25 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.002055/0.002076, allocations: 1.537 MB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003217, allocations: 1.27 MB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.003272, allocations: 0 / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.003435, allocations: 23.84 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.003595, allocations: 39.73 kB / 0.8414 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.003722, allocations: 59.83 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.003866, allocations: 147.5 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.003971, allocations: 49.84 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.588e-05/0.004067, allocations: 99.8 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.004169, allocations: 47.81 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.004194, allocations: 12 kB / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.198e-05/0.004246, allocations: 24 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.629e-05/0.004303, allocations: 51.81 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.004346, allocations: 43.89 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.004523, allocations: 187.3 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004525, allocations: 0 / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004526, allocations: 0 / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.00453, allocations: 0 / 0.842 GB, free: 10.61 MB / 0.8073 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.0004038/0.004934, allocations: 387.9 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.934e-05/0.004963, allocations: 12.03 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.005, allocations: 12.92 kB / 0.8424 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.005193, allocations: 177.3 kB / 0.8426 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.005299, allocations: 222.2 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.005322, allocations: 12.36 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.00549, allocations: 200.5 kB / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.005496, allocations: 192 / 0.843 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.005511, allocations: 12.12 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.005535, allocations: 11.98 kB / 0.843 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.515e-05/0.00556, allocations: 19.58 kB / 0.8431 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.005961, allocations: 269.7 kB / 0.8433 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.221e-05/0.006003, allocations: 34.48 kB / 0.8434 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.00602, allocations: 8.859 kB / 0.8434 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.006037, allocations: 4 kB / 0.8434 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.006058, allocations: 38.56 kB / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.006059, allocations: 0 / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001217/0.00618, allocations: 65.59 kB / 0.8435 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.006207, allocations: 59.34 kB / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.00631, allocations: 187.7 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.00633, allocations: 29.7 kB / 0.8437 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.006368, allocations: 104 kB / 0.8438 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.006386, allocations: 31.73 kB / 0.8439 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.006419, allocations: 29.69 kB / 0.8439 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.006488, allocations: 326.8 kB / 0.8442 GB, free: 8.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.463e-05/0.006502, allocations: 12 kB / 0.8442 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.261e-05/0.006555, allocations: 86.17 kB / 0.8443 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.006634, allocations: 113 kB / 0.8444 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.006637, allocations: 3.938 kB / 0.8444 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001002/0.006737, allocations: 101.3 kB / 0.8445 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.006748, allocations: 4.375 kB / 0.8445 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.006754, allocations: 12 kB / 0.8445 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006766, allocations: 4 kB / 0.8445 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.006826, allocations: 19.98 kB / 0.8445 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.006831, allocations: 7.938 kB / 0.8446 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.006867, allocations: 11.89 kB / 0.8446 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.006875, allocations: 8 kB / 0.8446 GB, free: 7.723 MB / 0.8073 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 6.224e-05/0.006937, allocations: 120.6 kB / 0.8447 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.006962, allocations: 11.98 kB / 0.8447 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.662e-05/0.007059, allocations: 88.55 kB / 0.8448 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00706, allocations: 0 / 0.8448 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007062, allocations: 4 kB / 0.8448 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007065, allocations: 0 / 0.8448 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.007174, allocations: 109.7 kB / 0.8449 GB, free: 7.371 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.007174, allocations: 3.938 kB / 0.8449 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.007198, allocations: 8 kB / 0.8449 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007201, allocations: 3.938 kB / 0.8449 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.007205, allocations: 8 kB / 0.8449 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.007206, allocations: 0 / 0.8449 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007207, allocations: 0 / 0.8449 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.568e-05/0.007292, allocations: 159.4 kB / 0.8451 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.007306, allocations: 15.84 kB / 0.8451 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.007315, allocations: 4 kB / 0.8451 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.007402, allocations: 15.98 kB / 0.8451 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.007413, allocations: 3.984 kB / 0.8451 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.007427, allocations: 7.984 kB / 0.8451 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.266e-05/0.00747, allocations: 49.8 kB / 0.8452 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.00747, allocations: 0 / 0.8452 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001691/0.007639, allocations: 31.94 kB / 0.8452 GB, free: 7.047 MB / 0.8073 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.0001684/0.007807, allocations: 105.2 kB / 0.8453 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.855e-05/0.007886, allocations: 48.7 kB / 0.8453 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.007889, allocations: 0 / 0.8453 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.819e-05/0.007907, allocations: 25.25 kB / 0.8454 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.008072, allocations: 32.72 kB / 0.8454 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.008373, allocations: 267.9 kB / 0.8456 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/0.008417, allocations: 79.17 kB / 0.8457 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.404e-05/0.008471, allocations: 37.09 kB / 0.8458 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.008648, allocations: 107.2 kB / 0.8459 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of SimCode: time 6.02e-07/0.008649, allocations: 0 / 0.8459 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of Templates: time 0.004631/0.01328, allocations: 2.71 MB / 0.8485 GB, free: 3.648 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Validation_WeeklyScheduleWindowsLineEndings.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3962232931517065]