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.0009327/0.0009327, allocations: 69.98 kB / 20.65 MB, free: 3.848 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.0009506/0.0009506, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9682/0.9682, allocations: 177.1 MB / 204.5 MB, free: 5.113 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.068/2.068, allocations: 429.5 MB / 0.6743 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.713e-06/1.713e-06, allocations: 0 / 0.8794 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.866e-05, allocations: 3.375 kB / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.006109/0.006137, allocations: 1.54 MB / 0.8809 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004963/0.0111, allocations: 1.251 MB / 0.8821 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.01118, allocations: 3.938 kB / 0.8821 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.01139, allocations: 25.44 kB / 0.8821 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.01162, allocations: 47.66 kB / 0.8822 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.0118, allocations: 57.77 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.012, allocations: 151.5 kB / 0.8824 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.01216, allocations: 37.22 kB / 0.8824 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.01231, allocations: 111.7 kB / 0.8825 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.01244, allocations: 46.55 kB / 0.8825 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.965e-05/0.01248, allocations: 12 kB / 0.8826 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.01541, allocations: 20 kB / 0.8826 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.687e-05/0.0155, allocations: 55.81 kB / 0.8826 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.781e-05/0.01557, allocations: 39.89 kB / 0.8827 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.01584, allocations: 183.4 kB / 0.8828 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.01585, allocations: 0.7188 kB / 0.8828 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01585, allocations: 0 / 0.8828 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.01585, allocations: 1.656 kB / 0.8828 GB, free: 2.492 MB / 0.8386 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.0006481/0.0165, allocations: 0.5113 MB / 0.8833 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.01654, allocations: 8.031 kB / 0.8834 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.01662, allocations: 24.84 kB / 0.8834 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.01691, allocations: 199.1 kB / 0.8836 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.01706, allocations: 218.2 kB / 0.8838 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.01709, allocations: 12.38 kB / 0.8838 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.01734, allocations: 197.7 kB / 0.884 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.01735, allocations: 192 / 0.884 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.01737, allocations: 12.11 kB / 0.884 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.0174, allocations: 4 kB / 0.884 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.146e-05/0.01745, allocations: 23.02 kB / 0.884 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.01814, allocations: 388 kB / 0.8844 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.162e-05/0.01821, allocations: 35 kB / 0.8844 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.01824, allocations: 19.67 kB / 0.8844 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.01826, allocations: 0 / 0.8844 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.01829, allocations: 41.39 kB / 0.8845 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.01829, allocations: 0 / 0.8845 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002286/0.01852, allocations: 73.59 kB / 0.8845 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.01855, allocations: 59.33 kB / 0.8846 GB, free: 496 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.01875, allocations: 254.9 kB / 0.8848 GB, free: 220 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.01878, allocations: 25.7 kB / 0.8849 GB, free: 188 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01889, allocations: 186.8 kB / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.01893, allocations: 31.75 kB / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.01898, allocations: 35.3 kB / 0.8851 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.01914, allocations: 0.504 MB / 0.8856 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.137e-05/0.01918, allocations: 7.984 kB / 0.8856 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.912e-05/0.01927, allocations: 120.2 kB / 0.8857 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.01943, allocations: 148 kB / 0.8859 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01943, allocations: 0 / 0.8859 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002302/0.01966, allocations: 121.5 kB / 0.886 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.01968, allocations: 8 kB / 0.886 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.01969, allocations: 4 kB / 0.886 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.0197, allocations: 4 kB / 0.886 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.0198, allocations: 19.94 kB / 0.886 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01981, allocations: 7.984 kB / 0.886 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.01988, allocations: 11.94 kB / 0.886 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.01989, allocations: 8 kB / 0.886 GB, free: 14.85 MB / 0.8542 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.0001071/0.02, allocations: 172.4 kB / 0.8862 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.02006, allocations: 20.06 kB / 0.8862 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.02026, allocations: 97.94 kB / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.02027, allocations: 4 kB / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.02027, allocations: 0 / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.02027, allocations: 0 / 0.8863 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.02048, allocations: 141.1 kB / 0.8865 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.02049, allocations: 3.984 kB / 0.8865 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.02054, allocations: 19.88 kB / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.02055, allocations: 0 / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.02055, allocations: 0 / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.02056, allocations: 0 / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.02056, allocations: 4 kB / 0.8865 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.02076, allocations: 228.2 kB / 0.8867 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.02079, allocations: 15.84 kB / 0.8867 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.0208, allocations: 0 / 0.8867 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.02098, allocations: 11.98 kB / 0.8867 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.021, allocations: 11.98 kB / 0.8867 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.02103, allocations: 7.984 kB / 0.8867 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001183/0.02114, allocations: 177.3 kB / 0.8869 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.02114, allocations: 0 / 0.8869 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000371/0.02152, allocations: 31.95 kB / 0.8869 GB, free: 13.86 MB / 0.8542 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.0002527/0.02177, allocations: 135.1 kB / 0.8871 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.0219, allocations: 52.22 kB / 0.8871 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.0219, allocations: 3.938 kB / 0.8871 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.729e-05/0.02194, allocations: 31.8 kB / 0.8872 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.02228, allocations: 23.97 kB / 0.8872 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.02274, allocations: 258.8 kB / 0.8874 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.122e-05/0.0228, allocations: 79.31 kB / 0.8875 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.556e-05/0.0229, allocations: 32.72 kB / 0.8875 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.02321, allocations: 154 kB / 0.8877 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of SimCode: time 1.143e-06/0.02321, allocations: 0 / 0.8877 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.006404/0.02961, allocations: 2.745 MB / 0.8904 GB, free: 10.34 MB / 0.8542 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.5213892217725515]