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.001425/0.001425, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001674/0.001674, allocations: 173 kB / 23.49 MB, free: 1.055 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.025/1.025, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.106/2.106, allocations: 429.5 MB / 0.6736 GB, free: 4.055 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 2.204e-06/2.204e-06, allocations: 0 / 0.8782 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.127e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Validation.WeeklyScheduleWindowsLineEndings): time 0.003462/0.003493, allocations: 1.55 MB / 0.8797 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.005292, allocations: 1.248 MB / 0.8809 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.005382, allocations: 7.938 kB / 0.8809 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.005621, allocations: 19.86 kB / 0.8809 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.005895, allocations: 40.75 kB / 0.881 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.006086, allocations: 57.02 kB / 0.881 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.006313, allocations: 151.5 kB / 0.8812 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.006484, allocations: 34.3 kB / 0.8812 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.006641, allocations: 107.8 kB / 0.8813 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.00678, allocations: 44.94 kB / 0.8813 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.006818, allocations: 15.94 kB / 0.8813 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.006898, allocations: 27.97 kB / 0.8814 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.00699, allocations: 52.7 kB / 0.8814 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.007062, allocations: 39.89 kB / 0.8815 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.007358, allocations: 183.9 kB / 0.8816 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.007361, allocations: 0 / 0.8816 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.072e-06/0.007362, allocations: 1.844 kB / 0.8816 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.007369, allocations: 0 / 0.8816 GB, free: 3.164 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.000709/0.008078, allocations: 0.5114 MB / 0.8821 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.008127, allocations: 8.031 kB / 0.8821 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.00844, allocations: 30.05 kB / 0.8822 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.008736, allocations: 200.8 kB / 0.8824 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.008999, allocations: 211.3 kB / 0.8826 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.009027, allocations: 16.36 kB / 0.8826 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.009527, allocations: 198.4 kB / 0.8828 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.009534, allocations: 192 / 0.8828 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.00956, allocations: 13.72 kB / 0.8828 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.009595, allocations: 7.984 kB / 0.8828 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.108e-05/0.009646, allocations: 15.98 kB / 0.8828 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007748/0.01042, allocations: 422.1 kB / 0.8832 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.657e-05/0.01049, allocations: 34.98 kB / 0.8832 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/0.01052, allocations: 19.69 kB / 0.8833 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.01055, allocations: 3.984 kB / 0.8833 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.01058, allocations: 41.39 kB / 0.8833 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.01058, allocations: 1.812 kB / 0.8833 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002083/0.01078, allocations: 77.73 kB / 0.8834 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.01081, allocations: 51.41 kB / 0.8834 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.01103, allocations: 262.8 kB / 0.8837 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.01106, allocations: 26.39 kB / 0.8837 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.01117, allocations: 182.8 kB / 0.8839 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.0112, allocations: 37.28 kB / 0.8839 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.01125, allocations: 39.36 kB / 0.884 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.01143, allocations: 0.504 MB / 0.8844 GB, free: 24 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.56e-05/0.01146, allocations: 8 kB / 0.8845 GB, free: 16 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.01158, allocations: 112.9 kB / 0.8846 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.01174, allocations: 156.9 kB / 0.8847 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01175, allocations: 0 / 0.8847 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002242/0.01197, allocations: 125.3 kB / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.01199, allocations: 6.344 kB / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.012, allocations: 7.984 kB / 0.8848 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.01201, allocations: 4 kB / 0.8848 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.01212, allocations: 23.94 kB / 0.8849 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.01213, allocations: 7.984 kB / 0.8849 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.01219, allocations: 11.94 kB / 0.8849 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.0122, allocations: 4.375 kB / 0.8849 GB, free: 15.46 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 9.621e-05/0.0123, allocations: 172.5 kB / 0.8851 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.01236, allocations: 19.91 kB / 0.8851 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.01255, allocations: 101.6 kB / 0.8852 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01255, allocations: 4 kB / 0.8852 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01256, allocations: 0 / 0.8852 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.01256, allocations: 0 / 0.8852 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.01296, allocations: 176.5 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01296, allocations: 4 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.01301, allocations: 16 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.01302, allocations: 0 / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.01303, allocations: 8 kB / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01303, allocations: 3.938 kB / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01303, allocations: 3.938 kB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.01321, allocations: 227.8 kB / 0.8856 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.01323, allocations: 11.91 kB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.01325, allocations: 0 / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.0134, allocations: 15.98 kB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.01342, allocations: 11.97 kB / 0.8856 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.01344, allocations: 7.984 kB / 0.8856 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001116/0.01355, allocations: 181.4 kB / 0.8858 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01355, allocations: 4 kB / 0.8858 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00033/0.01388, allocations: 31.95 kB / 0.8859 GB, free: 14.41 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.0002469/0.01413, allocations: 123.5 kB / 0.886 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01426, allocations: 60.08 kB / 0.886 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.01426, allocations: 0 / 0.886 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/0.0143, allocations: 31.59 kB / 0.8861 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.01463, allocations: 39.84 kB / 0.8861 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.01507, allocations: 250.9 kB / 0.8863 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.029e-05/0.01513, allocations: 83.31 kB / 0.8864 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.01528, allocations: 50.31 kB / 0.8865 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.01531, allocations: 16.94 kB / 0.8865 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.01531, allocations: 4 kB / 0.8865 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.003701/0.01901, allocations: 2.436 MB / 0.8889 GB, free: 11.33 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.405801885994151]